From: 代尔欣 <daierxin@gmail.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb@sourceware.org
Subject: Re: No useful backtrace in core dump.
Date: Thu, 22 Apr 2010 08:35:00 -0000 [thread overview]
Message-ID: <n2r8f4584b51004220135mcd87a739s6d4bde5c66917297@mail.gmail.com> (raw)
In-Reply-To: <201004220818.o3M8INMG014249@glazunov.sibelius.xs4all.nl>
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.
>
next prev parent reply other threads:[~2010-04-22 8:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 2:41 代尔欣
2010-04-22 6:01 ` Baurzhan Ismagulov
2010-04-22 7:09 ` 代尔欣
2010-04-22 8:18 ` Mark Kettenis
2010-04-22 8:35 ` 代尔欣 [this message]
2010-04-22 8:50 ` Baurzhan Ismagulov
2010-04-22 9:02 ` 代尔欣
2010-04-22 9:17 ` Baurzhan Ismagulov
2010-04-22 9:36 ` 代尔欣
2010-04-22 9:44 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=n2r8f4584b51004220135mcd87a739s6d4bde5c66917297@mail.gmail.com \
--to=daierxin@gmail.com \
--cc=gdb@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox