diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2/read.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4a5ed8..8c2953a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2021-02-05 Tom de Vries <tdevries@suse.de> + PR symtab/27333 + * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. + +2021-02-05 Tom de Vries <tdevries@suse.de> + PR breakpoints/27313 * break-catch-syscall.c (catch_syscall_split_args): Reject negative syscall numbers. diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index f60e418..3f60ce6 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -7836,6 +7836,9 @@ process_psymtab_comp_unit (dwarf2_per_cu_data *this_cu, case DW_TAG_partial_unit: this_cu->unit_type = DW_UT_partial; break; + case DW_TAG_type_unit: + this_cu->unit_type = DW_UT_type; + break; default: abort (); } |