binutils-gdb/gdb/dwarf2
Tom de Vries 5ce0e02478 [gdb/symtab] Work around PR gas/29517, dwarf2 case
In commit 1d45d90934 ("[gdb/symtab] Work around PR gas/29517") we added a
workaround for PR gas/29517.

The problem is present in gas version 2.39, and fixed in 2.40, so the
workaround is only active for gas version == 2.39.

However, the problem in gas is only fixed for dwarf version >= 3, which
supports DW_TAG_unspecified_type.

Fix this by also activating the workaround for dwarf version == 2.

Tested on x86_64-linux.

Approved-by: Kevin Buettner <kevinb@redhat.com>

PR symtab/31689
https://sourceware.org/bugzilla/show_bug.cgi?id=31689
2024-05-02 09:34:46 +02:00
..
abbrev-cache.c
abbrev-cache.h
abbrev.c
abbrev.h
ada-imported.c
aranges.c
aranges.h
attribute.c
attribute.h
call-site.h
comp-unit-head.c
comp-unit-head.h
cooked-index.c gdb: move a bunch of quit-related things to event-top.{c,h} 2024-04-23 11:26:14 -04:00
cooked-index.h
cu.c
cu.h
die.c
die.h gdb: don't include hashtab.h in defs.h 2024-04-22 21:34:19 -04:00
dwz.c
dwz.h
expr.c gdb: move a bunch of quit-related things to event-top.{c,h} 2024-04-23 11:26:14 -04:00
expr.h
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h gdb: don't include hashtab.h in defs.h 2024-04-22 21:34:19 -04:00
index-write.c gdb: remove gdbcmd.h 2024-04-25 12:59:02 -04:00
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c gdb: remove gdbcmd.h 2024-04-25 12:59:02 -04:00
loc.h
macro.c
macro.h
mapped-index.h
parent-map.h
public.h
read-debug-names.c
read-debug-names.h
read-gdb-index.c gdb: move a bunch of quit-related things to event-top.{c,h} 2024-04-23 11:26:14 -04:00
read-gdb-index.h
read.c [gdb/symtab] Work around PR gas/29517, dwarf2 case 2024-05-02 09:34:46 +02:00
read.h
sect-names.h
section.c
section.h
stringify.c
stringify.h
tag.h
types.h