This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Target Remote debug error: Reply contains invalid hex digit 116
- From: "WANG Baohua" <Baohua dot Wang at alcatel-sbell dot com dot cn>
- To: <gdb at sourceware dot org>
- Date: Wed, 14 Oct 2009 11:06:06 +0800
- Subject: Target Remote debug error: Reply contains invalid hex digit 116
Dear all,
my enviroment:
gdb : 6.7-1rh (ELDK 4.2 for PowerPC85xx)
target kernel: 2.6.25
I use gdb to debug my PowerPC8548 board,but there exist error when
connect to target. The application will exist as soon as connect to
host.
Can you help to analysis it ?
thanks!
log :
target: PowerPC85xx
-bash-3.2# gdbserver 135.251.213.177:3401 app
Process app created; pid = 1008
Listening on port 3401
Remote debugging from host 135.251.213.250
gdb: PID mismatch! Expected 1008, got 1208081096
-bash-3.2#
Platform: GTO_MPC8548
OS: Unix (Posix)
No attached units.
tcsetattr: Input/output error
BCM>
EOF
host: redhat server
ddd --debugger /opt/eldk_4.2/usr/bin/ppc_85xx-gdb app &
(gdb) target remote 135.251.213.177:3401
`system-supplied DSO at 0x100000' has disappeared; keeping its symbols.
remote:target_xfer_partial (9, target.xml, 0x871c430, 0x0, 0x0, 4095)
= -1
target_wait (-1, status) = 1008, status->kind = stopped, signal =
SIGTRAP
STOPPED_BY_WATCHPOINT () = 0
target_terminal_ours ()
target_memory_map ()
remote:target_xfer_partial (7, (null), 0x871c430, 0x0, 0x0, 4095) = -1
remote:target_xfer_partial (2, (null), 0xbfffea60, 0x0, 0x106c6784, 4)
= 4, bytes =
00 00 00 00
remote:target_xfer_partial (5, (null), 0x871c430, 0x0, 0x0, 4096) =
176, bytes =
00 00 00 16 00 00 00 16 00 00 00 16 00 00 00 16 ...
remote:target_xfer_partial (5, (null), 0x871c4e0, 0x0, 0xb0, 3920) = 0
remote:target_xfer_partial (2, (null), 0xbfffe960, 0x0, 0x100000, 52)
= 52, bytes =
7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 ...
remote:target_xfer_partial (2, (null), 0x87542d8, 0x0, 0x100034, 128)
= 128, bytes = 00 00 00 01 00 00 00 00 ...
remote:target_xfer_partial (2, (null), 0x871c430, 0x0, 0x100000, 4140)
= 4140, bytes =
7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 ...
remote:target_xfer_partial (2, (null), 0xbfffe650, 0x0, 0x10000140, 4)
= 4, bytes =
7c 29 0b 78
remote:target_xfer_partial (2, (null), 0xbfffe650, 0x0, 0x1000013c, 4)
= 4, bytes =
00 00 00 00
remote:target_xfer_partial (2, (null), 0xbfffe650, 0x0, 0x10000140, 4)
= 4, bytes =
7c 29 0b 78
remote:target_xfer_partial (2, (null), 0xbfffe650, 0x0, 0x1000013c, 4)
= 4, bytes =
00 00 00 00
Ignoring packet error, continuing...
target_terminal_ours ()
remote:target_xfer_partial (2, (null), 0xbfffea50, 0x0, 0x10000140, 4)
= 4, bytes =
7c 29 0b 78
Ignoring packet error, continuing...
target_close (0)
Reply contains invalid hex digit 116
(gdb) c
The program is not being run.