From a262ae964e725a02c056e832927c3bd16a689e07 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Apr 2008 09:04:17 +0000 Subject: * 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. --- binutils/dwarf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'binutils/dwarf.h') diff --git a/binutils/dwarf.h b/binutils/dwarf.h index a0cffb9f507..dd6f553737e 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; -- cgit v1.2.1