From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11271 invoked by alias); 28 Apr 2008 17:23:04 -0000 Received: (qmail 11263 invoked by uid 22791); 28 Apr 2008 17:23:03 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Apr 2008 17:22:46 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m3SHMiWe014859; Mon, 28 Apr 2008 13:22:44 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3SHMhVt021895; Mon, 28 Apr 2008 13:22:44 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3SHMeXl008184; Mon, 28 Apr 2008 13:22:43 -0400 Message-ID: <4816065D.3070909@redhat.com> Date: Mon, 28 Apr 2008 17:23:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Dale Lee CC: insight@sources.redhat.com Subject: Re: Debugging remote target References: <48160634.4000308@mayflowercom.com> In-Reply-To: <48160634.4000308@mayflowercom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00046.txt.bz2 Dale Lee wrote: > What do I need to do to make the insight debugger report the arm > registers correctly? You need to tell the build that you want a debugger that runs (hosted) on i686, but targets ARM. See configure's "--target" option. I don't know the exact triple used for your ARM cpu, there are a number of ways to find out. Easiest, what is the name of your compiler (assuming gcc). If it's "foo-bar-baz-gcc" (or perhaps just "foo-bar-gcc"), then your build --target is "foo-bar-baz" (or perhaps simply "foo-bar"). If you're not using gcc, you can look in src/gdb/configure.tgt for a suitable target triple for your target. Otherwise, your best bet is to search or ask the gdb mailing list for assistance. Keith