Re: No useful backtrace in core dump.

代尔欣
2010-04-22T08:35:48Z

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.
>