This is the mail archive of the binutils@sources.redhat.com 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]

Re: [patch] readelf.c - dump .eh_frame sections



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

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