This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2171: No backtrace generated on amd64
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 18 Sep 2006 18:08:01 -0000
- Subject: Re: gdb/2171: No backtrace generated on amd64
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR gdb/2171; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: Joe Hansche <madcoder@gmail.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2171: No backtrace generated on amd64
Date: Mon, 18 Sep 2006 14:05:37 -0400
On Mon, Sep 18, 2006 at 06:21:40AM -0600, Joe Hansche wrote:
> I've upgraded to kernel version 2.6.17, with the same results (after
> recompiling both gdb and php). I tried looking through the kernel
> .config to see what might cause something like this. The only thing I
> ended up changing, aside from the defaults in the new kernel, was
> changing the memory model from Discontiguous to Sparse.
>
> Any more ideas? Or since you are saying it looks like a kernel
> problem, where should I look for more information on this?
drow@caradoc:~/nevyn-home/z% readelf -l php | head
Elf file type is DYN (Shared object file)
There we go. This is PIE, a position independent executable. The FSF
GDB does not support PIE.
I believe Red Hat ships some unsubmitted patches for this issue; they
were mentioned on the gdb mailing list a few weeks ago.
--
Daniel Jacobowitz
CodeSourcery