qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu qemu-doc.texi


From: Wolfgang Schildbach
Subject: Re: [Qemu-devel] qemu qemu-doc.texi
Date: Mon, 12 Jun 2006 16:09:25 +0200

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

address@hidden 
wrote on 11.06.2006 18:28:41:

> CVSROOT:   /sources/qemu
> Module name:   qemu
> Changes by:   Paul Brook <pbrook>   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
> 
> address@hidden Other binaries
> address@hidden Other binaries
> +
> address@hidden 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

--
Wolfgang Schildbach, Senior Research Engineer
Coding Technologies GmbH





reply via email to

[Prev in Thread] Current Thread [Next in Thread]