This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Backtraces broken on i386 by unorthodox encoding of push %ebp
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Richard Smith <richard at ex-parrot dot com>
- Cc: gdb at sourceware dot org
- Date: Sun, 31 Mar 2013 07:48:25 +0200
- Subject: Re: Backtraces broken on i386 by unorthodox encoding of push %ebp
- References: <alpine dot LRH dot 2 dot 02 dot 1303301849040 dot 2445 at sphinx dot mythic-beasts dot com> <20130330195008 dot GA11994 at host2 dot jankratochvil dot net> <alpine dot LRH dot 2 dot 02 dot 1303302037420 dot 2445 at sphinx dot mythic-beasts dot com>
On Sat, 30 Mar 2013 22:02:55 +0100, Richard Smith wrote:
> Yes, you're right, I could quite easily. But a design criterion for
> this project is that it is easy for third-parties to produce
> backtraces from production code (i.e. once debugging information has
> been stripped).
It should be in .eh_frame - which is also used for exceptions unwinding if
an exception is thrown through this frame. .eh_frame is runtime information,
it is in a mapped segment and never stripped.
Jan