NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/49444: ++ exception unwinding broken on BE8 arm
The following reply was made to PR lib/49444; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/49444: ++ exception unwinding broken on BE8 arm
Date: Fri, 23 Jan 2015 21:16:01 +0100
So readelf produces clearer output (objdump is broken?)
The pc in question is coverd by this:
00000b8c 00000030 00000830 FDE cie=00000360 pc=00024528..00024824
Augmentation data: 00 02 7e a8
DW_CFA_advance_loc: 4 to 0002452c
DW_CFA_def_cfa_register: r12
DW_CFA_advance_loc: 4 to 00024530
DW_CFA_offset: r4 at cfa-44
DW_CFA_offset: r5 at cfa-40
DW_CFA_offset: r6 at cfa-36
DW_CFA_offset: r7 at cfa-32
DW_CFA_offset: r8 at cfa-28
DW_CFA_offset: r9 at cfa-24
DW_CFA_offset: r10 at cfa-20
DW_CFA_offset: r11 at cfa-16
DW_CFA_offset: r13 at cfa-12
DW_CFA_offset: r14 at cfa-8
DW_CFA_advance_loc: 4 to 00024534
DW_CFA_def_cfa: r11 ofs 4
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
and
00000b8c 00000030 00000830 FDE cie=00000360 pc=00024528..00024824
LOC CFA r4 r5 r6 r7 r8 r9 r10 r11 r13 ra
00024528 r13+0 u u u u u u u u u u
0002452c r12+0 u u u u u u u u u u
00024530 r12+0 c-44 c-40 c-36 c-32 c-28 c-24 c-20 c-16 c-12 c-8
00024534 r11+4 c-44 c-40 c-36 c-32 c-28 c-24 c-20 c-16 c-12 c-8
which matches the function:
(gdb) x/i 0x00024528
0x24528 <_ZN5tools4text7to_typeIxEET_RKSs>: mov r12, sp
(gdb) x/i 0x00024820
0x24820 <_ZN5tools4text7to_typeIxEET_RKSs+760>:
stmgt pc, {r8, r9} ; <UNPREDICTABLE>
So dwarf output looks ok to me, but the rb tree node is broken?
Martin
Home |
Main Index |
Thread Index |
Old Index