This is the mail archive of the
mailing list for the GDB project.
Re: RFC: %ebp-based backtrace patch
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Mark Kettenis <kettenis at gnu dot org>, Michael Matz <matz at suse dot de>
- Date: Mon, 6 Jul 2009 16:21:03 -0400
- Subject: Re: RFC: %ebp-based backtrace patch
- References: <20090706183316.GA26074@caradoc.them.org> <email@example.com>
On Mon, Jul 06, 2009 at 04:10:23PM -0400, Frank Ch. Eigler wrote:
> Daniel Jacobowitz <firstname.lastname@example.org> writes:
> > A number of Linux distributions are carrying the attached patch from
> > Michael Matz. [...]
> > https://bugzilla.novell.com/show_bug.cgi?id=390722#c25
> > * i386-tdep.c (i386_frame_cache): Assume anonymous functions use
> > a frame pointer.
> Could gdb partially disassemble such functions to check
> whether %ebp is likely being used as this heuristic expects?
I don't think so, but maybe someone else will come up with a way.
Since we don't know the function's start address, we could be anywhere
in the function.