Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Niklaus <niklaus@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: arm-elf and mips-deb-linux gdb
Date: Mon, 26 Jun 2006 15:00:00 -0000	[thread overview]
Message-ID: <20060626130303.GA28081@nevyn.them.org> (raw)
In-Reply-To: <85e0e3140606260558u489a926cuf1d2e714b691315b@mail.gmail.com>

On Mon, Jun 26, 2006 at 06:28:53PM +0530, Niklaus wrote:
> On 6/26/06, Daniel Jacobowitz <drow@false.org> wrote:
> >Thanks.  This is why I asked for a complete transcript - now it is
> >apparent what is wrong.
> >
> >On Mon, Jun 26, 2006 at 04:42:43PM +0600, Niklaus wrote:
> >> pro@deb:~/armenv/bin$ ./arm-elf-gdb first.o
> >
> >You have to run the simulator using fully linked executables, not just
> >object files.  See the linker scripts that are part of newlib.
> >
> Can you tell why it fails  .  I would like to know the reason why it
> fails. Which linker script would you recommend.

I don't know anything about building for arm-elf; you'll have to ask
somewhere else.

It fails because your application has not been linked.  It doesn't have
startup code, it doesn't have relocations applied.  The simulator has
probably branched off into nowhere.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-06-26 13:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-24 13:08 Niklaus
2006-06-24 13:30 ` Daniel Jacobowitz
2006-06-26 13:03   ` Niklaus
2006-06-26 14:55     ` Daniel Jacobowitz
2006-06-26 14:56       ` Niklaus
2006-06-26 15:00         ` Daniel Jacobowitz [this message]

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=20060626130303.GA28081@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=niklaus@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