This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: No useful backtrace in core dump.
Hi Mark,
How about I use lower optimize option with GCC? If this still
can't work, I will follow your suggestion...
Thanks!
2010/4/22 Mark Kettenis <mark.kettenis@xs4all.nl>:
>> 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.
>