This is the mail archive of the gdb@sourceware.org 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]

Malformed packet error


Hi,
 I am using insight to debug my target mips2.
 If I use the command line debugger provided by montavista, after connecting 
to my target , the resposne is 

 $ mips2_fp_le-gdb.exe
GNU gdb 6.6.50.20070301 (MontaVista 6.6.50-2.0.5.0703840 2007-08-23)
Copyright (C) 2007 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-cygwin
--target=mipsel-montavista-lin ux-gnu".
 (gdb) set solib-absolute-prefix .
 (gdb) target remote 192.168.12.162:1000  Remote debugging using
192.168.12.162:1000  0x2aaa8830 in __start () from ./lib/ld.so.1
 (gdb) c
 
 and this works fine.

If I use the insight gdb, the following problem is faced when the fork()
system call is invoked.

$
/cygdrive/c/Insight6.8/tuxbuilder-1.1/mipsel-unknown-linux-gnu/cross/usr/bin/
mipsel-linux-gdb.org.exe ./philips/apps/amApp GNU gdb 6.6 Copyright (C) 2006
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-cross-cygwin
--target=mipsel-linux"...


entry: ~/.gdbinit
exit: ~/.gdbinit
(gdb) set solib-absolute-prefix .
(gdb) target remote 192.168.12.162:1000
Remote debugging using 192.168.12.162:1000 0x2aaa8830 in __start () at
../ports/sysdeps/mips/dl-machine.h:81
81      ../ports/sysdeps/mips/dl-machine.h: No such file or directory.
        in ../ports/sysdeps/mips/dl-machine.h
(gdb) c
Continuing.
[New Thread 240]
warning: Invalid remote reply: nf1
Malformed packet(b) (missing colon): 25:bcc9d62a;1d:f8aa9c7f;thread:f0;
Packet: 'TR242;25:bcc9d62a;1d:f8aa9c7f;thread:f0;'

(gdb)

please let me know How do I solve the malformed packet error. 
PS: WHEN I START MY GDBSERVER, IT DOES NOT PRINT ANY VERSION INFORMATION.

-- 
View this message in context: http://www.nabble.com/Malformed-packet-error-tp24367618p24367618.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.


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