From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11457 invoked by alias); 14 Nov 2005 22:59:17 -0000 Received: (qmail 11445 invoked by uid 22791); 14 Nov 2005 22:59:15 -0000 Received: from xproxy.gmail.com (HELO xproxy.gmail.com) (66.249.82.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 14 Nov 2005 22:59:15 +0000 Received: by xproxy.gmail.com with SMTP id s9so710112wxc for ; Mon, 14 Nov 2005 14:59:13 -0800 (PST) Received: by 10.64.179.4 with SMTP id b4mr5976492qbf; Mon, 14 Nov 2005 14:59:12 -0800 (PST) Received: by 10.65.20.19 with HTTP; Mon, 14 Nov 2005 14:59:11 -0800 (PST) Message-ID: <7f45d9390511141459s65fa4f61y@mail.gmail.com> Date: Mon, 14 Nov 2005 22:59:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: Re: Simulating arm-linux binaries In-Reply-To: <20051114223116.GA4991@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f45d9390511141428q190485f5l@mail.gmail.com> <20051114223116.GA4991@nevyn.them.org> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00275.txt.bz2 2005/11/14, Daniel Jacobowitz : > Have you considered just using qemu instead? It supports ARM usermode > emulation, and has a gdb server as a bonus. I didn't know qemu-arm existed. Thanks for the pointer. I used this howto [1] to set up qemu-arm, but it's failing as follows: $ qemu-arm -L arm arm/bin/ls Unable to load interpreter Segmentation fault $ qemu-arm --version qemu-arm version 0.7.2, Copyright (c) 2003-2005 Fabrice Bellard [1] http://people.debian.org/~ballombe/qemu/qemu.html/ > > These two invocations of the same binary seem to be going down very > > different code paths within glibc. Any idea why that is? Is gdb > > calling the ARMulator differently somehow than sim? > > No idea - it shouldn't be. Odd. Cheers, Shaun