Simulating arm-linux binaries

Daniel Jacobowitz drow@false.org
Mon Nov 14 22:31:00 GMT 2005


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



More information about the Gdb mailing list