[gold][patch] Add .debug_types to list of known gdb sections
Cary Coutant
ccoutant@google.com
Fri Jun 18 22:45:00 GMT 2010
More information about the Binutils mailing list
Fri Jun 18 22:45:00 GMT 2010
- Previous message (by thread): [gold][patch] Add a plugin callback for setting the extra search path
- Next message (by thread): [gold][patch] Add .debug_types to list of known gdb sections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The --strip-debug-gdb option currently strips the .debug_types section, but shouldn't. This trivial patch adds it to the list of sections to keep with this option. (I also added it, commented out, to the list of sections to keep for --strip-debug-lines.) OK? -cary diff --git a/gold/layout.cc b/gold/layout.cc index a39b115..9310961 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -243,6 +243,7 @@ static const char* gdb_sections[] = // ".debug_aranges", // not used by gdb as of 6.7.1 ".debug_frame", ".debug_info", + ".debug_types", ".debug_line", ".debug_loc", ".debug_macinfo", @@ -256,6 +257,7 @@ static const char* lines_only_debug_sections[] = // ".debug_aranges", // not used by gdb as of 6.7.1 // ".debug_frame", ".debug_info", + // ".debug_types", ".debug_line", // ".debug_loc", // ".debug_macinfo",
- Previous message (by thread): [gold][patch] Add a plugin callback for setting the extra search path
- Next message (by thread): [gold][patch] Add .debug_types to list of known gdb sections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list