This is the mail archive of the gdb@sources.redhat.com 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]

debugging from solaris host to linux pc target


Hi all,

I'm having some trouble remote debugging from a solaris host to a linux pc target (using gdb, gdbserver, and TCP).

To sanity check what i'm doing (in terms of command line, target behavior, etc) i can sucessfully connect/run between any of serveral different linux pc hosts and the linux pc target.

However, every time i use the solaris machine as the host, i get errors like:

Remote packet too long: 00000000000000000000000000000000f0fdffbf0000000000000000000000007013004046020000230000002b0000002b0000002b00000000000000000000000040000000000000ffff0000000000000000ffff00000000000000000000000000000000000000000000000000000080ff3f00000000000000c805400000000000000080ff3f000000000000000000007f03000000000000ffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Any ideas?

I have attached a log of the 2 different scenarios also.

Thanks!

Ken
=============================================================================
linux pc host to linux pc target
-----------------------------------------------------------------------------
host
-----------------------------------------------------------------------------
GNU gdb 5.2.1
Copyright 2002 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 "i586-linux"...
(gdb) target remote 203.8.71.190:1122
Remote debugging using 203.8.71.190:1122
0x40001370 in ?? ()
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(gdb) cont
Continuing.

Program exited with code 03.
(gdb) 

-----------------------------------------------------------------------------
target
-----------------------------------------------------------------------------
Remote debugging from host 203.8.71.10
hi

Child exited with retcode = 3

Child exited with status 64
GDBserver exiting


=============================================================================
solaris sparc host to linux pc target
-----------------------------------------------------------------------------
host
-----------------------------------------------------------------------------
GNU gdb 5.2.1
Copyright 2002 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 "sparc-sun-solaris2.6"...
(gdb) target remote 203.8.71.190:1122
Remote debugging using 203.8.71.190:1122
Remote packet too long: 00000000000000000000000000000000f0fdffbf0000000000000000000000007013004046020000230000002b0000002b0000002b00000000000000000000000040000000000000ffff0000000000000000ffff00000000000000000000000000000000000000000000000000000080ff3f00000000000000c805400000000000000080ff3f000000000000000000007f03000000000000ffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Remote packet too long: 00000000000000000000000000000000f0fdffbf0000000000000000000000007013004046020000230000002b0000002b0000002b00000000000000000000000040000000000000ffff0000000000000000ffff00000000000000000000000000000000000000000000000000000080ff3f00000000000000c805400000000000000080ff3f000000000000000000007f03000000000000ffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Remote packet too long: 00000000000000000000000000000000f0fdffbf0000000000000000000000007013004046020000230000002b0000002b0000002b00000000000000000000000040000000000000ffff0000000000000000ffff00000000000000000000000000000000000000000000000000000080ff3f00000000000000c805400000000000000080ff3f000000000000000000007f03000000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000---Type <return> to continue, or q <return> to quit---
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Ignoring packet error, continuing...
Couldn't establish connection to remote target
procfs: couldn't find pid 42000 in procinfo list.

-----------------------------------------------------------------------------
target
-----------------------------------------------------------------------------
Process hi created; pid = 2057
Remote debugging from host 173.5.173.1
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the connection.
-----------------------------------------------------------------------------


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