This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Simulating arm-linux binaries
- From: Daniel Jacobowitz <drow at false dot org>
- To: Shaun Jackman <sjackman at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 14 Nov 2005 17:31:16 -0500
- Subject: Re: Simulating arm-linux binaries
- References: <7f45d9390511141428q190485f5l@mail.gmail.com>
On Mon, Nov 14, 2005 at 03:28:47PM -0700, Shaun Jackman wrote:
> Hello,
>
> I'm adding support to sim/arm (arm-elf-run) to run statically linked
> Linux binaries. The work is going well so far; I'm already able to run
> a "Hello, world!" application linked against uClibc. Running a "Hello,
> world!" application linked against glibc is proving to be a little
> more difficult. If anyone else is interested in this work, and perhaps
> in helping with this work, I'll send my current patch your way. I'll
> be sending a patch upstream that works with uClibc shortly.
Have you considered just using qemu instead? It supports ARM usermode
emulation, and has a gdb server as a bonus.
> 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.
--
Daniel Jacobowitz
CodeSourcery, LLC