This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot-GDB
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: nickg at ecoscentric dot com, msalter at redhat dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 21 Jun 2003 02:17:13 +0000
- Subject: Re: [ECOS] Redboot-GDB
- Bcc:
Sorry, I passed on some wrong information :( <I am extremely sorry for
that>. This ("C0a") was due to the JTAG probe & the AXD debugger.
These are the actual message transaction from the remote_log file:
w +$Hc-1#09
r +$OK#9a
w +$qC#b4
r +$QC00000001#15
w +$qOffsets#4b
r +$#00
w +$?#3f
r +$S05#b8
w +$Hg1#e0
r +$OK#9a
w +$g#67
:
:
:
r +$OK#9a
w +$Pf=00000400#77
r +$OK#9a
w +
c c
w $Hc0#db
r +$OK#9a
w +$c#63
r +
w \x03
End of log
<always...haha>
Please advice me, if my understanding is right:
1. When ?Pf=00000400? is sent, its going to store it in the _registers[PC] =
0x40000.
2. And when ?c? is sent, at __process_packet() the stack (or context) is
switched to the new ecos_app to be started before returning to
return_from_exception:. Am I right?
Assuming that statement 2 is right; I tried find this 1 piece of code in the
flow corresponding to ?c? in __process_packet(). But couldn?t find it.
Please point me to this.
With this info. I am sure; I would get much closer to my problem.
Thanks,
-Mike.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss