This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: Mention --debug-dump=frames-interp in --help output


Hi Guys,

  I am applying the small patch below to add a mention of the
  --debug-dump=frames-interp to the --help output of readelf and
  objdump.

Cheers
  Nick

binutils/ChangeLog
2009-10-16  Nick Clifton  <nickc@redhat.com>

	* 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.

Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.465
diff -c -3 -p -r1.465 readelf.c
*** binutils/readelf.c	29 Sep 2009 14:17:04 -0000	1.465
--- binutils/readelf.c	16 Oct 2009 10:01:05 -0000
*************** usage (FILE * stream)
*** 2929,2935 ****
    -R --relocated-dump=<number|name>\n\
                           Dump the contents of section <number|name> as relocated bytes\n\
    -w[lLiaprmfFsoR] or\n\
!   --debug-dump[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=Ranges]\n\
                           Display the contents of DWARF2 debug sections\n"));
  #ifdef SUPPORT_DISASSEMBLY
    fprintf (stream, _("\
--- 2929,2936 ----
    -R --relocated-dump=<number|name>\n\
                           Dump the contents of section <number|name> as relocated bytes\n\
    -w[lLiaprmfFsoR] or\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, _("\

Index: binutils/objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.165
diff -c -3 -p -r1.165 objdump.c
*** binutils/objdump.c	22 Sep 2009 18:29:06 -0000	1.165
--- binutils/objdump.c	16 Oct 2009 10:01:06 -0000
*************** usage (FILE *stream, int status)
*** 201,207 ****
    -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\
                             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\
--- 201,208 ----
    -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,\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\

Index: binutils/doc/binutils.texi
===================================================================
RCS file: /cvs/src/src/binutils/doc/binutils.texi,v
retrieving revision 1.155
diff -c -3 -p -r1.155 binutils.texi
*** binutils/doc/binutils.texi	29 Sep 2009 15:34:08 -0000	1.155
--- binutils/doc/binutils.texi	16 Oct 2009 10:01:08 -0000
*************** Note: the @option{=decodedline} option w
*** 4032,4037 ****
--- 4032,4041 ----
  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]