From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fpn6l-0006AJ-IR for qemu-devel@nongnu.org; Mon, 12 Jun 2006 10:09:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fpn6i-0006A7-Gp for qemu-devel@nongnu.org; Mon, 12 Jun 2006 10:09:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fpn6i-0006A4-DD for qemu-devel@nongnu.org; Mon, 12 Jun 2006 10:09:32 -0400 Received: from [62.128.13.235] (helo=smtp.codingtechnologies.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FpnFR-000228-Ox for qemu-devel@nongnu.org; Mon, 12 Jun 2006 10:18:34 -0400 Received: from mailhub.nbg.ct.dom (unknown [10.10.1.6]) by smtp.codingtechnologies.de (Postfix) with ESMTP id E5F40E4019 for ; Mon, 12 Jun 2006 16:09:25 +0200 (CEST) Received: from notesserv.nbg.ct.dom (notesserv.nbg.ct.dom [10.10.1.6]) by mailhub.nbg.ct.dom (Postfix) with ESMTP id A56181E3A for ; Mon, 12 Jun 2006 16:09:25 +0200 (CEST) In-Reply-To: Subject: Re: [Qemu-devel] qemu qemu-doc.texi MIME-Version: 1.0 Message-ID: From: Wolfgang Schildbach Date: Mon, 12 Jun 2006 16:09:25 +0200 Content-Type: text/plain; charset="US-ASCII" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Paul, Does this mean that qemu-arm should be able to run the binaries that are produced by RVCT? I am trying to run a simple helloworld, compiled and linked with rvct2.2 (armcc -g -o hello hello.c) into a "ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, not stripped" file, but qemu-arm fails with an "error loading ./hello". On a related note, how do I go about debugging qemu (namely the part that loads executables)? Since qemu appears as a shared object, this is not so straightforward. When I start gdb on arm-user, set a breakpoint at main() and type "run", I get "cannot insert breakpoint 1. Error accessing memory address 0x1cfb2: Input/output error. The same program may be running in another process." (This is with gdb 5.2, but 6.3 is not much different) - Wolfgang qemu-devel-bounces+wolfgang.schildbach=codingtechnologies.com@nongnu.org wrote on 11.06.2006 18:28:41: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Paul Brook 06/06/11 16:28:41 > > Modified files: > . : qemu-doc.texi > > Log message: > Document new arm-user features. > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi? > cvsroot=qemu&r1=1.90&r2=1.91 > > Patches: > Index: qemu-doc.texi > =================================================================== > RCS file: /sources/qemu/qemu/qemu-doc.texi,v > retrieving revision 1.90 > retrieving revision 1.91 > diff -u -b -r1.90 -r1.91 > --- qemu-doc.texi 26 May 2006 00:49:52 -0000 1.90 > +++ qemu-doc.texi 11 Jun 2006 16:28:41 -0000 1.91 > @@ -1531,6 +1531,7 @@ > * Quick Start:: > * Wine launch:: > * Command line options:: > +* Other binaries:: > @end menu > > @node Quick Start > @@ -1637,6 +1638,15 @@ > Act as if the host page size was 'pagesize' bytes > @end table > > +@node Other binaries > +@section Other binaries > + > +@command{qemu-arm} is also capable of running ARM "Angel" semihosted ELF > +binaries (as implemented by the arm-elf and arm-eabi Newlib/GDB > +configurations), and arm-uclinux bFLT format binaries. > + > +The binary format is detected automatically. > + > @node compilation > @chapter Compilation from the sources > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel -- Wolfgang Schildbach, Senior Research Engineer Coding Technologies GmbH