From: Dmitry Smirnov <divis1969@mail.ru>
To: gdb@sourceware.org
Subject: Problem with -stack-list-frames
Date: Wed, 11 Feb 2009 17:55:00 -0000 [thread overview]
Message-ID: <E1LXJIb-0008Xw-00.divis1969-mail-ru@f36.mail.ru> (raw)
Hi,
I was using gdb-6.8.50.20080630 for a while in the following configuration:
- Eclipse CDT as a front end,
- gdb-6.8.50.20080630 as ARM debugger connected to skyeye simulator
- skyeye simulator as a remote target (server)
It was working fine till I had tried to swicth to another (modern) way in CDT debug configuration (called DSF).
With the guys that support this new feature, we found that gdb does not respond correctly to -stack-list-frames command.
Here is the output, I got from gdb (plus few more commands):
info threads
* 1 Thread <main> tmc_init () at qct\services\tmc\tmc.c:11541
warning: RMT ERROR : failed to get remote thread list.
-stack-list-frames
bt
#0 tmc_init () at qct\services\tmc\tmc.c:11541
#1 0x00c1d4c6 in tmc_task (ignored=<value optimized out>)
at qct\services\tmc\tmc.c:12350
#2 0x00eee43e in rex_thread_init (entrypoint=0xc1d4a9 <tmc_task+1>)
at qct\services\rexl4\rexl4.c:174
#3 0x00f3e0c8 in __thread_stub ()
#4 0x00f3e0c8 in __thread_stub ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
As you can see, info threads and bt works as expected.
Don't you know what could be the reason for such a silence of -stack-list-frames?
Could you please tell where can start debugging GDB to catch the root cause?
BTW, in case you would find it usefull to read the CDT maillist topic, see http://dev.eclipse.org/mhonarc/lists/cdt-
dev/msg14275.html
Dmitry
next reply other threads:[~2009-02-11 17:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 17:55 Dmitry Smirnov [this message]
2009-02-11 18:57 ` Vladimir Prus
2009-02-11 19:03 ` Daniel Jacobowitz
2009-02-11 19:09 ` Marc Khouzam
[not found] ` <6D19CA8D71C89C43A057926FE0D4ADAA067F0360@ecamlmw720.eamcs.ericsson.se>
2009-02-11 19:11 ` Marc Khouzam
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=E1LXJIb-0008Xw-00.divis1969-mail-ru@f36.mail.ru \
--to=divis1969@mail.ru \
--cc=gdb@sourceware.org \
/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