[patch] readelf.c - dump .eh_frame sections
DJ Delorie
dj@delorie.com
Thu Dec 7 10:22:00 GMT 2000
> On some targets the output of this dump is hard to read because it's
> wider than any terminal: 300, 400 cols or so.
What, you don't have a three-pixel-wide font? ;-)
> I'm working on a patch that elides columns that aren't used. It's a
> bit of a hack, but I'll tidy it up if anyone thinks it's needed in the
> main code base. It does look much nicer: this
I thought of doing this myself, but you almost have to scan the whole
section twice to determine what columns can be removed (which would
also change the max_reg logic). I also wanted to auto-size the
columns based on the widest field.
The target I developed it for had 32 registers, so my windows were
really wide too.
More information about the Binutils
mailing list