summaryrefslogtreecommitdiff
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
commitce2bf58e446188365d101549e00933d8e2563d38 (patch)
treefa436e4693a1fbf045d31844a960c94651c43706 /binutils/dwarf.h
parent8df8b8dfcf4e25711bdfb30b1bfb44eee91c1617 (diff)
downloadbinutils-redhat-ce2bf58e446188365d101549e00933d8e2563d38.tar.gz
* 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 a0cffb9f50..dd6f553737 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;