This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb-h8-stub... please help.


Dear GDB gurus,

I'm new to this list, and I'd appreciate your expertise.
I'm developing a gdb-stub for a Hitachi platform. I'm done with the hardware
part, but my stub and the gdb have problem understanding each other.
I compile my test program and fire up the gdb...


(gdb) set remotedebug 1
(gdb) load
...
Start address 0x200144 , load size 352
Sending packet: $P9=00200144#51...Ack
Packet received: OK
Transfer rate: 2816 bits in <1 sec.
(gdb) b main
Sending packet: $m0,2#fb...Ack
Packet received: 0000
Sending packet: $m0,2#fb...Ack
Packet received: 0000
Breakpoint 1 at 0x200018: file hello.c, line 10.

<Looks OK so far, but then>

(gdb) step
Cannot find bounds of current function 

<very confusing, and then some>

(gdb) cont
Continuing.
Sending packet: $m18,2#34...Ack
Packet received: 0000
binary downloading NOT suppported by target
Sending packet: $M18,2:5730#1d...Ack
Packet received: OK
Sending packet: $Hc0#db...Ack
Packet received:
Sending packet: $c#63...putpkt: Junk: @
Timed out.
Packet received: S05
Sending packet: $c#63...putpkt: Junk:
Timed out.

end quote.
I would appreciate any light that you can shine on this. Do I need to patch
GDB? Do I need to process binary downloading (I don't do it now)? Add extra
cases to my command switch?

Thanks a lot!

Regards -- Alexei 

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]