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: Tue, 22 Jan 2013 20:11:41 +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 #7 from Joseph Kain <jkain at nvidia dot com> 2013-01-22 20:11:41 UTC ---
> > as I was in the process of adding missing .eh_frame data
> I believe the problem is in your added data. How do you add it?
I just added by adding the -fasynchronous-unwind-tables to my gcc invocations.
Looking over the gcc source I see that for non-PIC builds gcc doesn't include
the 'R' augmentation at all. However, ld adds it when linking my objects
together. I'm using binutils 2.18 which includes a bfd that uses encoding 0x10
(DW_EH_PE_pcrel). Newer binutil release's bfds use 0x1b (DW_EH_PE_pcrel |
DW_EH_PE_sdata4). So, is it the case that gdb doesn't support binaries built
with binutils 2.18?
--
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.