Hello,
I have some puzzles in using gdbserver in mips target. when
I start
remote debugging with command "gdbserver
192.168.18.100:3356 tc qdisc
add dev eth0" on mips target system, it just run the
program but not
stop at the entry. when I connect the target in the host
with "target
remote 192.168.18.1:3356" the target just terminate the
connection and
exit.
following is the output in target and host.
# gdbserver 192.168.18.100:3356 tc qdisc add dev eth0
Process tc created; pid = 822
RTNETLINK answers: Invalid argument
/*tc error output */
Child exited with retcode = 2
Listening on port 3356
Remote debugging from host 192.168.18.100
Child exited with status 2
GDBserver exiting
#
Host output
(gdb) target remote 192.168.18.1:3356
Remote debugging using 192.168.18.1:3356
Remote communication error: Connection reset by peer.
(gdb)
gdbserver doesn't stop program at the entry? Then how to
start remote debugging?
thanks a lot.
|