[PATCH] Add support for DW_TAG_skeleton_unit

Ali Tamur via gdb-patches gdb-patches@sourceware.org
Thu Feb 13 05:59:00 GMT 2020


Process a die with DW_TAG_skeleton_unit tag similar to
DW_TAG_partial_unit and DW_TAG_compile_unit.

gdb/ChangeLog:

	* dwarf2/read.c (process_die): Add DW_TAG_skeleton_unit.
---
 gdb/dwarf2/read.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 7edbd9d7df..bd19a41eef 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -9784,6 +9784,7 @@ process_die (struct die_info *die, struct dwarf2_cu *cu)
       break;
     case DW_TAG_compile_unit:
     case DW_TAG_partial_unit:
+    case DW_TAG_skeleton_unit:
       read_file_scope (die, cu);
       break;
     case DW_TAG_type_unit:
-- 
2.25.0.265.gbab2e86ba0-goog



More information about the Gdb-patches mailing list