This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Fwd: gdbserver can not stop program?
- From: "吴明津" <womking at gmail dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 19 Jun 2007 09:00:39 +0800
- Subject: Fwd: gdbserver can not stop program?
- References: <baa23c9d0706171907p66bdb904t83447ebebd74f206@mail.gmail.com>
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.