bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Malformed packet error


From: Tribhuwan Kandpal
Subject: Re: Malformed packet error
Date: Thu, 9 Jul 2009 20:34:41 +0530 (IST)

Hi InsightUser,
To me it seems that it is the problem of mismatched configuration on both the sides. What I mean is your gdbserver was compiled for some other configuration and your gdb is compiled for some other configuration. Did you checked that ?

your montavista command line debugger is configured for target:
--target=mipsel-montavista-lin ux-gnu
and insight one with:
--target=mipsel-linux

Are you sure, both are one and the same thing ?
Also are there any commands running from your gdbinit in failure case.

Thanks,
Tribhuwan


--- On Mon, 6/7/09, Insightuser <address@hidden> wrote:

From: Insightuser <address@hidden>
Subject: Malformed packet error
To: address@hidden
Date: Monday, 6 July, 2009, 11:00 PM


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-tp24367637p24367637.html
Sent from the Gnu - gdb - Bugs mailing list archive at Nabble.com.



_______________________________________________
bug-gdb mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gdb


Love Cricket? Check out live scores, photos, video highlights and more. Click here.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]