This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Adding backtrace to an arm-based on-target debugger
- From: Nagender Telkar <ntelkar at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Sun, 4 Jul 2004 18:40:03 -0600
- Subject: Adding backtrace to an arm-based on-target debugger
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