This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: No useful backtrace in core dump.
> Date: Thu, 22 Apr 2010 10:40:57 +0800
> From: =?GB2312?B?tPq2+9DA?= <daierxin@gmail.com>
>
> Hi list,
> I'm new with gdb. Really need your help. I run gdb with my
> program on ARM platform. I compiled the codes with -g option. After
> the codes crash, in core dump file, I only see something like:
>
> Raise()
> Abort()
> ?? ()
>
> Why no the last function called in my program? How to make this work,
> Please help.
Because GCC generates overoptimized code that destroys the call stack.
Please complain about this on the gcc mailing lists.