From: Nagender Telkar <ntelkar@gmail.com>
To: gdb@sources.redhat.com
Subject: Adding backtrace to an arm-based on-target debugger
Date: Mon, 05 Jul 2004 00:40:00 -0000 [thread overview]
Message-ID: <3e59910004070417407ad2bdf8@mail.gmail.com> (raw)
Hello All,
I am working on developing an on-target debugger for applications on
an arm-based target. I need to add a backtrace feature to it.
Can someone tell me where to look for the gdb serial protocol?
When I do a "bt" on the gdb prompt I get only the current frame. It
does not go beyond the current frame. It is as shown below.
#0 Test_Func(nValue=525, psValueBuf=0xb00f0c,
Sending packet: $mb00ee0,4#89...Ack
Packet received: 14000000
nValueBufSize=20) at et_amountctl.c:390
#1 0x00d4b9e4 in ?? ()
Can you tell me what do I need to do in the target-side stub?
In my target, the application I am debugging is compiled in
arm-elf-gcc but the enviornment it is running is compiled in armcc
mode. Is it a matter of concern to the gdb?
Thanks in advance.
regards,
Nagender
next reply other threads:[~2004-07-05 0:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-05 0:40 Nagender Telkar [this message]
2004-07-05 4:35 ` Ramana Radhakrishnan
2004-07-07 20:25 ` Nagender Telkar
2004-07-08 5:26 Atul Talesara
[not found] <36993D449C7FA647BF43568E0793AB3E8C79F9@nevis_pune_xchg.pune.nevisnetworks.com>
2004-07-09 0:59 ` Nagender Telkar
2004-07-12 11:11 Atul Talesara
2004-07-12 13:56 ` Atul Talesara
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=3e59910004070417407ad2bdf8@mail.gmail.com \
--to=ntelkar@gmail.com \
--cc=gdb@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).