Recognize a few more AIX XCOFF DWARF sections.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 13 Oct 2015 22:45:38 +0000 (18:45 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 13 Oct 2015 22:45:38 +0000 (18:45 -0400)
gdb/ChangeLog:

        * xcoffread.c (dwarf2_xcoff_names): Add .dwmac and .dwpbtyp.

gdb/ChangeLog
gdb/xcoffread.c

index fddacfe40a61fb5d2f8af559cf014142241b1d39..cabfe362feeb583e549de47a3b0a31ac6eabfd34 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-13  David Edelsohn  <dje.gcc@gmail.com>
+
+       * xcoffread.c (dwarf2_xcoff_names): Add .dwmac and .dwpbtyp.
+
 2015-10-13  Pedro Alves  <palves@redhat.com>
 
        * ada-lang.c (ada_enum_name): Constify local.
index 2c158b8b65f5795476968ac95a67f616c28825cf..b9006409e22a64e9a128f02e309a7b6997939064 100644 (file)
@@ -159,11 +159,14 @@ static const struct dwarf2_debug_sections dwarf2_xcoff_names = {
   { ".dwabrev", NULL },
   { ".dwline", NULL },
   { ".dwloc", NULL },
-  { NULL, NULL }, /* debug_macinfo */
-  { NULL, NULL }, /* debug_macro */
+  /* AIX XCOFF defines one, named DWARF section for macro debug information.
+     XLC does not generate debug_macinfo for DWARF4 and below.
+     The section is assigned to debug_macro for DWARF5 and above. */
+  { NULL, NULL },
+  { ".dwmac", NULL },
   { ".dwstr", NULL },
   { ".dwrnges", NULL },
-  { NULL, NULL }, /* debug_types */
+  { ".dwpbtyp", NULL },
   { NULL, NULL }, /* debug_addr */
   { ".dwframe", NULL },
   { NULL, NULL }, /* eh_frame */
This page took 0.052189 seconds and 4 git commands to generate.