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]

Re: debugging from solaris host to linux pc target


sorry to be so slow to reply, but yes, that was it.... works perfectly now.

Thanks!

Ken


Daniel Jacobowitz wrote:


On Thu, Jan 15, 2004 at 11:31:28AM -0600, Ken Lierman wrote:

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.


You missed the most important step.

To cross-debug you must build a GDB using --target specifying the
platform you wished to cross debug to.  You can't use a native Solaris
GDB to debug an i686-linux target.



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