This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
GDB for MIPS
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 17 Mar 2003 07:13:32 +0000
- Subject: [ECOS] GDB for MIPS
- Bcc:
This issue is regarding GDB.
Info. regarding the dev setup:
Dev machine: Windows98
Dev tool: mipsisa32-elf
Target hardware: MIPS 4Kc Atlas board running YAMON
2.04
I issued the following gdb commands:
(gdb) target remote com1
(gdb) load
(gdb) b dispstring
(gdb) c
After executing c command gdb reports the following...
warning: Warning: GDB can?t find the start of the
function at 0x3.
bla...bla...bla
If I run it (using ?c? command) without setting the
breakpoint, it runs well.
Clipping from remotelogfile:
c b dispstring
w $ma0100128,4#8a
r +$3c04a010#ec
w +$ma0100124,4#86
r +$27bd0018#f8
w +
c c
The break point command is doing 2 reads. Is that all
what its supposed to do (I am sure its target
dependent)? I imagine that it would write something at
the location (dispstring).
Also if there is a document up in the Internet
explaining the GDB communication protocol & all its
command, please point me to it.
Thanks a lot,
-Mike.
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss