From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15029 invoked by alias); 2 Apr 2007 22:04:18 -0000 Received: (qmail 15021 invoked by uid 22791); 2 Apr 2007 22:04:18 -0000 X-Spam-Check-By: sourceware.org Received: from sj-iport-6.cisco.com (HELO sj-iport-6.cisco.com) (171.71.176.117) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Apr 2007 23:04:16 +0100 Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 02 Apr 2007 15:04:15 -0700 Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l32M4F33006524 for ; Mon, 2 Apr 2007 15:04:15 -0700 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l32M46Zf023641 for ; Mon, 2 Apr 2007 22:04:14 GMT Received: from xmb-sjc-236.amer.cisco.com ([128.107.191.121]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 2 Apr 2007 15:04:13 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: crosstool gdb6.6 from i686 to x86_64 Date: Mon, 02 Apr 2007 22:04:00 -0000 Message-ID: <0D48315C0192E64BA0767F616E5A3B6601CF9425@xmb-sjc-236.amer.cisco.com> From: "Sri Dharmasanam \(sdharmas\)" To: Authentication-Results: sj-dkim-3; header.From=sdharmas@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00014.txt.bz2 I'm seeing this problem with gdb6.6 built using crosstool 0.43 =20 host is a typical linux i686 system and the target is x86_64 smp linux 2.6.10. =20 The compiler version is 4.1.1 and binutils 2.16. =20 on the target, when I try remote debug: =20 %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; =20 on the host, I get: ./gdbserver hostipaddr:12312 --attach 2826 Attached; pid =3D 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