[ECOS] GDB for MIPS

Michael Anburaj embeddedeng@hotmail.com
Mon Mar 17 10:36:00 GMT 2003


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



More information about the Ecos-discuss mailing list