From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: Nagender Telkar <ntelkar@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: Adding backtrace to an arm-based on-target debugger
Date: Mon, 05 Jul 2004 04:35:00 -0000 [thread overview]
Message-ID: <40E8DA64.60705@codito.com> (raw)
In-Reply-To: <3e59910004070417407ad2bdf8@mail.gmail.com>
>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?
>
>
1. info gdbint.
2. gdb/remote.c
>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?
>
>
>
Please submit your problem with a script of your debug session showing
exactly all that you did before this and a small testcase mentioning the
version of gdb , gcc and binutils that you are currently using for this.
You could take a look at the script command in bash or you could use
emacs to capture the debug session using M-x gdb .
cheers
Ramana
next prev parent reply other threads:[~2004-07-05 4:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-05 0:40 Nagender Telkar
2004-07-05 4:35 ` Ramana Radhakrishnan [this message]
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 13:56 Atul Talesara
2004-07-12 11:11 ` 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=40E8DA64.60705@codito.com \
--to=ramana.radhakrishnan@codito.com \
--cc=gdb@sources.redhat.com \
--cc=ntelkar@gmail.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