This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
crosstool gdb6.6 from i686 to x86_64
- From: "Sri Dharmasanam \(sdharmas\)" <sdharmas at cisco dot com>
- To: <gdb at sourceware dot org>
- Date: Mon, 2 Apr 2007 15:04:13 -0700
- Subject: crosstool gdb6.6 from i686 to x86_64
- Authentication-results: sj-dkim-3; header.From=sdharmas@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
I'm seeing this problem with gdb6.6 built using crosstool 0.43
host is a typical linux i686 system and the target is x86_64 smp linux
2.6.10.
The compiler version is 4.1.1 and binutils 2.16.
on the target, when I try remote debug:
%target% (gdb) target remote tcp:target_ipaddr:12312
Remote debugging using tcp:target_ipaddr:12312
Remote register badly formatted:
T0506:b0f3ffbf7f000000;07:f0f2ffbf7f000000;10:358170962a000000;
here: f000000;07:f0f2ffbf7f000000;10:358170962a000000;
on the host, I get:
./gdbserver hostipaddr:12312 --attach 2826
Attached; pid = 2826
Listening on port 12312
Remote debugging from host ipaddr
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the
connection.
Listening on port 12312
Any ideas what's wrong with my setup?
Thanks