Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Shaun Jackman <sjackman@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: Simulating arm-linux binaries
Date: Mon, 14 Nov 2005 22:31:00 -0000	[thread overview]
Message-ID: <20051114223116.GA4991@nevyn.them.org> (raw)
In-Reply-To: <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


  reply	other threads:[~2005-11-14 22:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-14 22:28 Shaun Jackman
2005-11-14 22:31 ` Daniel Jacobowitz [this message]
2005-11-14 22:59   ` Shaun Jackman
2005-11-15  2:07     ` Daniel Jacobowitz
2005-11-15 20:44   ` Shaun Jackman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051114223116.GA4991@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=sjackman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox