This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Simulating arm-linux binaries
2005/11/14, Daniel Jacobowitz <drow@false.org>:
> 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