aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-04-11 09:04:17 +0000
committerNick Clifton <nickc@redhat.com>2008-04-11 09:04:17 +0000
commita262ae964e725a02c056e832927c3bd16a689e07 (patch)
tree849da409a301ec69884d636482a962201613a89b /binutils/dwarf.h
parent5bcb0e6433b567d2e901cf6c510e195c2df34a3b (diff)
downloadgdb-a262ae964e725a02c056e832927c3bd16a689e07.zip
gdb-a262ae964e725a02c056e832927c3bd16a689e07.tar.gz
gdb-a262ae964e725a02c056e832927c3bd16a689e07.tar.bz2
* dwarf.c (display_debug_lines): Rename to
display_debug_lines_raw. (display_debug_lines_decoded): New function. Displays the interpreted contents of a .debug_line section. (display_debug_lines): New function: Selects either a raw dump or a decoded dump (or both) as requested by the user. * dwarf.h (do_debug_lines_decoded): New extern. * readelf.c: Add support for -wL or --debug-dump=decodedline option to display the decoded contents of a .debug_line section. * doc/binutils.texi: Document the new option. * NEWS: Mention the new feature.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r--binutils/dwarf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index a0cffb9..dd6f553 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -1,5 +1,5 @@
/* dwwrf.h - DWARF support header file
- Copyright 2005, 2007
+ Copyright 2005, 2007, 2008
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -96,6 +96,7 @@ extern int eh_addr_size;
extern int do_debug_info;
extern int do_debug_abbrevs;
extern int do_debug_lines;
+extern int do_debug_lines_decoded;
extern int do_debug_pubnames;
extern int do_debug_aranges;
extern int do_debug_ranges;