diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-05-24 13:21:22 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-05-24 13:21:22 +0000 |
commit | f71eb0cba5bb08cda0889db173742d73f3a23890 (patch) | |
tree | 751655f738a3d2f3da808d117ed4d4a00df3b101 /binutils/dwarf.h | |
parent | 99dafaebae0637c3075a950e92b07eef5b936456 (diff) | |
download | binutils-redhat-f71eb0cba5bb08cda0889db173742d73f3a23890.tar.gz |
2010-05-24 Tristan Gingold <gingold@adacore.com>
* readelf.c (usage): Add new trace sections for --debug-dump.
(process_section_headers): Handle dump of trace sections.
* objdump.c (usage): Add new trace sections for --dwarf.
* dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
(do_trace_aranges): Ditto.
(enum dwarf_section_display_enum): Add trace_info, trace_abbrev
and trace_aranges literals.
* dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
(do_trace_aranges): Ditto.
(process_debug_info): Add abbrev_sec argument and replace
abbrev with abbrev_sec.
(load_debug_info): Adjust call of process_debug_info.
(display_debug_info): Ditto.
(display_trace_info): New function.
(dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
and trace_aranges sections name.
(dwarf_select_sections_all): Also select trace sections.
(debug_displays): Reindent. Add entries for the trace sections.
* doc/binutils.texi (readelf): Document new --dwarf parameters.
(objdump): Ditto.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 1ad96abd94..58ecc67b26 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -71,6 +71,9 @@ enum dwarf_section_display_enum static_vars, types, weaknames, + trace_info, + trace_abbrev, + trace_aranges, max }; @@ -113,6 +116,9 @@ extern int do_debug_frames_interp; extern int do_debug_macinfo; extern int do_debug_str; extern int do_debug_loc; +extern int do_trace_info; +extern int do_trace_abbrevs; +extern int do_trace_aranges; extern int do_wide; extern void init_dwarf_regnames (unsigned int); |