PATCH: Dump machine register in readelf debug output

hjl.tools@gmail.com hjl.tools@gmail.com
Tue Jan 29 01:51:00 GMT 2008
On Sat, Jan 26, 2008 at 06:07:58PM -0500, Daniel Jacobowitz wrote:
> 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

I prefer 

  DW_CFA_offset: r3 (ebx) at cfa-8

without %. Is that OK with everyone?


H.J.



More information about the Binutils mailing list