PATCH: Dump machine register in readelf debug output

Daniel Jacobowitz drow@false.org
Tue Jan 29 01:39:00 GMT 2008


On Sat, Jan 26, 2008 at 02:30:51PM -0800, H.J. Lu wrote:
> It is often very useful to display machine register instead of
> dwarf register in readelf debug output. This patch add new
> options -wM/--debug-dump=register to readelf for i386 and x86-64.

How about doing this without a new option?  e.g.

  DW_CFA_offset: r3 (%ebx) at cfa-8

or

  DW_CFA_offset: %ebx (r3) at cfa-8

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list