PATCH: Fix for PR6483

Nick Clifton nickc@redhat.com
Thu Jun 12 12:18:00 GMT 2008


Hi Guys,

  I have had this patch in my tree for a little while and it has done
  no harm, so I have decided to check it in.  It allows the -g option
  to objdump to try display DWARF debug information if it cannot find
  any STABS or IEEE debug information in the file it is dumping.

Cheers
  Nick

binutils/ChangeLog
2008-06-12  Nick Clifton  <nickc@redhat.com>

	PR binutils/6483
	* objdump.c (dump_bfd): If the -g option found no STABS or IEEE
	debug information to display, try dumping DWARF information
	instead.
	* rddbg.c (read_debugging_info): Add a parameter to suppress the
	display of a warning message when no debug information is found.
	* budbg.h (read_debugging_info): Update prototype.
	* objcopy.c (copy_object): Continue to allow read_debugging_info
	to produce warning messages.
	* doc/binutils.texi (--debugging): Document new behaviour of the
	-g/--debugging option.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: objdump.patch
Type: text/x-patch
Size: 4853 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080612/86503751/attachment.bin>


More information about the Binutils mailing list