This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Recognize bottom of stack on Linux
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Jim Blandy <jimb at zenia dot red-bean dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 4 Feb 2002 08:14:20 +0200 (IST)
- Subject: Re: RFA: Recognize bottom of stack on Linux
On Sun, 3 Feb 2002, Jim Blandy wrote:
> Now, some folks feel that GDB should show the whole stack, including
> _start, __libc_start_main, and anything else that's there. However,
> this isn't the way GDB has ever traditionally behaved on native
> targets. So this patch makes GDB's backtraces end after main.
I'm probably missing something important, but couldn't there be a program
written in assembly that doesn't have a `main' at all?