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-5.3 on mips


Hi,
I need some help in order to guide me where to start...,
my target is mips running uClinux I have compiled gdb-5.3,
gdbserver and gdb for the host,

follows the output when I run gdb on the host, what happens is that
I can't control the target process like setting  breakpoints 
getting info and so on.

any help will be appreciated. 


[test@dragun usr]$ /home/test/gdb/download/gdb-5.3/gdb/gdb  demo.gdb 
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=mipseb-linux-elf"...
(gdb) set debug remote 1
(gdb) target remote 192.168.1.90:2345
Remote debugging using 192.168.1.90:2345
Sending packet: $Hc-1#09...Ack
Packet received: OK
Sending packet: $qC#b4...Ack
Packet received: 
Sending packet: $qOffsets#4b...Ack
Packet received: 
Sending packet: $?#3f...Ack
Packet received: T0525:81190060;1d:8119ffa4;
Sending packet: $Hg0#df...Ack
Packet received: OK
Sending packet: $g#67...Ack
Packet received:
0000000081174790000000008117ff8c8117ffb88117ff848117ff8c00000000000001008117
47b000000000000000038116f820000002688114fc58000152688117ff848117ffb88117ffb8
000000038117ff7c811bff9c83f8fc0800000000000017708116dd8000000000000000028116
f8208119ffa4811ffe988116cae40000000000000000000000008010782c0080002081190060
7ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff8
00007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff80000
7ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff800007ff8
00007ff800007ff800007ff80000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000
0xffffffff81190060 in ?? ()
(gdb) b main
Sending packet: $m400220,4#f5...Ack
Packet received: 00000000
Breakpoint 1 at 0x400220
(gdb) n
Cannot find bounds of current function
(gdb) p
The history is empty.
(gdb) cont
Continuing.
### remote_insert_breakpoint
Sending packet: $Z0,400220,4#3e...Ack
Packet received: 
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $m400220,4#f5...Ack
Packet received: 00000000
Sending packet: $X400220,0:#16...Ack
Packet received: 
binary downloading NOT suppported by target
Sending packet: $M400220,4:0005000d#c8...Ack
Packet received: OK
### remote_resume
Sending packet: $Hc0#db...Ack
Packet received: OK
Sending packet: $c#63...Ack

from this poing the target process starts running.


Thanks, Amit.




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