This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB for MIPS
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: jifl at eCosCentric dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 26 Mar 2003 08:24:40 +0000
- Subject: Re: [ECOS] GDB for MIPS
- Bcc:
Many thanks to Nick & Jonathan.
Now my GDB stub breaks at the break exception (upon hitting a break point).
I am not sure what the target should send to intimate this break point
condition. Is there a document for this? (Or the other approach is to learn
from Redboot source ? which I am doing also...).
Redboot's response:
c c
w $Z0,a01001b8,4#03
r +$OK#9a
w +$Hc0#db
r +$OK#9a
w +$c#63
r +$T05thread:00000000;25:b80110a0ffffffff;1d:ffffffff905210a0;#1b
w +$g#67
My Debug monitor's response:
c c
w $Z0,a01001b8,4#03
r +$#00
w +$ma01001b8,4#ba
r +$55000224#92
w +$Ma01001b8,4:0d000500#8d
r +$OK#9a
w +$Hc0#db
r +$#00
w +$c#63
r +$S05#b8
w +$g#67
Thanks,
-Mike.
From: Jonathan Larmour <jifl at eCosCentric dot com>
To: Michael Anburaj <embeddedeng at hotmail dot com>
CC: ecos-discuss at sources dot redhat dot com
Subject: Re: [ECOS] GDB for MIPS
Date: Tue, 25 Mar 2003 11:54:57 +0000
Nick Garnett wrote:
Also if there is a document up in the Internet
explaining the GDB communication protocol & all its
command, please point me to it.
There is a brief description in the comment at the head of
hal/common/current/src/generic-stub.c. The description in the YAMON
documentation that comes on the CD with the Atlas is as good as any I
have seen.
There's also
http://sources.redhat.com/gdb/current/onlinedocs/gdb_32.html#SEC631
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 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