This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[patch] readelf.c - dump .eh_frame sections
- To: binutils at sources dot redhat dot com
- Subject: [patch] readelf.c - dump .eh_frame sections
- From: Andrew Haley <aph at redhat dot com>
- Date: Thu, 7 Dec 2000 18:17:36 +0000 (GMT)
- References: <200011272042.PAA15340@greed.delorie.com>
On some targets the output of this dump is hard to read because it's
wider than any terminal: 300, 400 cols or so.
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
00000060 00000018 00000064 FDE cie=00000000 pc=000000bc..00000124
LOC CFA r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 r32 r33 r34 r35 r36 r37 r38 r39 r40 r41 r42 r43 r44 r45 r46 r47 r48 r49 r50 r51 r52 r53 r54 r55 r56 r57 r58 r59 r60 r61 r62 r63 r64 ra
000000bc r1+0 u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
000000c4 r1+0 u c+0 u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
000000d0 r1+0 u c+0 u u u u u u u u u u u u u u u u u u u u u u u u u u u c+20 u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
000000d4 r1+0 u c+0 u u u u u u u u u u u u u u u u u u u u u u u u u u u c+20 u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u c+36
turns into this:
00000060 00000018 00000064 FDE cie=00000000 pc=000000bc..00000124
LOC CFA r1 r29 ra
000000bc r1+0 u u u
000000c4 r1+0 c+0 u u
000000d0 r1+0 c+0 c+20 u
000000d4 r1+0 c+0 c+20 c+36
Andrew.