This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] readelf.c - dump .eh_frame sections
- To: aph at redhat dot com
- Subject: Re: [patch] readelf.c - dump .eh_frame sections
- From: DJ Delorie <dj at delorie dot com>
- Date: Thu, 7 Dec 2000 13:22:11 -0500
- CC: binutils at sources dot redhat dot com
- References: <200011272042.PAA15340@greed.delorie.com> <14895.54336.714473.663915@host130.cygnus>
> 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.