This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/15032] GNU/Linux backtrace fails to use eh_frameinformation when built with --enable-64-bit-bfd
- From: "jkain at nvidia dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 18 Jan 2013 20:29:40 +0000
- Subject: [Bug backtrace/15032] GNU/Linux backtrace fails to use eh_frameinformation when built with --enable-64-bit-bfd
- Auto-submitted: auto-generated
- References: <bug-15032-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15032
--- Comment #2 from Joseph Kain <jkain at nvidia dot com> 2013-01-18 20:29:40 UTC ---
> couldn't you provide some such 32-bit binary?
I'll see if I can prepare such a 32 bit binary. At the moment I don't have a
releaseable version as I was in the process of adding missing .eh_frame data to
the binary when I discocvered this problem.
> The problem is 0xfff7bb90 should have been 64-bit extended as
> 0xfffffffffff7bb90 and then it would all work.
The DW_EH_PE_udata4 case won't sign extend as it's supposed to represent
unsigned data. I believe, the DW_EH_PE_udata4 case was selected in the block
if ((encoding & 0x07) == 0x00)
{
encoding |= encoding_for_size (ptr_len);
if (bfd_get_sign_extend_vma (unit->abfd))
encoding |= DW_EH_PE_signed;
}
Clearly, DW_EH_PE_signed wasn't set. I can try to look into why.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.