From 353f293b8f659a5c5754574144272804194c83c8 Mon Sep 17 00:00:00 2001 From: nickc Date: Fri, 16 Oct 2009 10:05:06 +0000 Subject: [PATCH] * readelf.c (usage): Add mention of --debug-dump=frames-interp. Wrap output to 80 columns. * objdump.c (usage): Likewise. * doc/binutils.texi (readelf): Add note about =frames-interp. --- binutils/ChangeLog | 7 +++++++ binutils/doc/binutils.texi | 4 ++++ binutils/objdump.c | 3 ++- binutils/readelf.c | 3 ++- 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 331bc16f62..850773ff9a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2009-10-16 Nick Clifton + + * readelf.c (usage): Add mention of --debug-dump=frames-interp. + Wrap output to 80 columns. + * objdump.c (usage): Likewise. + * doc/binutils.texi (readelf): Add note about =frames-interp. + 2009-10-01 Alan Modra * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols. diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index a5ac601ef5..2cb56be485 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -4032,6 +4032,10 @@ Note: the @option{=decodedline} option will display the interpreted contents of a .debug_line section whereas the @option{=rawline} option dumps the contents in a raw format. +Note: the @option{=frames-interp} option will display the interpreted +contents of a .debug_frame section whereas the @option{=frames} option +dumps the contents in a raw format. + @item -I @itemx --histogram Display a histogram of bucket list lengths when displaying the contents diff --git a/binutils/objdump.c b/binutils/objdump.c index dd0d0ef50c..e9fef40d0c 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -201,7 +201,8 @@ usage (FILE *stream, int status) -e, --debugging-tags Display debug information using ctags style\n\ -G, --stabs Display (in raw form) any STABS info in the file\n\ -W[lLiaprmfFsoR] or\n\ - --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=Ranges]\n\ + --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,\n\ + =frames-interp,=str,=loc,=Ranges]\n\ Display DWARF info in the file\n\ -t, --syms Display the contents of the symbol table(s)\n\ -T, --dynamic-syms Display the contents of the dynamic symbol table\n\ diff --git a/binutils/readelf.c b/binutils/readelf.c index 15f4ac04c8..8d05d70af6 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2929,7 +2929,8 @@ usage (FILE * stream) -R --relocated-dump=\n\ Dump the contents of section as relocated bytes\n\ -w[lLiaprmfFsoR] or\n\ - --debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=Ranges]\n\ + --debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,\n\ + =frames-interp,=str,=loc,=Ranges]\n\ Display the contents of DWARF2 debug sections\n")); #ifdef SUPPORT_DISASSEMBLY fprintf (stream, _("\ -- 2.11.0