public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@debian.org>
To: Chetan Kapoor <chetan.kapoor@flextronicssoftware.com>
Cc: linux-omap-open-source@linux.omap.com,
	linux-arm-kernel@lists.arm.linux.org.uk,
	linux-arm-toolchain@lists.arm.linux.org.uk
Subject: Re: Problem using gdbserver on ARM target
Date: Thu, 4 May 2006 10:03:11 -0400	[thread overview]
Message-ID: <20060504140311.GA32124@nevyn.them.org> (raw)
In-Reply-To: <OF2D51E9C2.3C3CCC6A-ON65257164.00424D70-65257164.00426D5F@flextronicssoftware.com>

On Thu, May 04, 2006 at 05:35:23PM +0530, Chetan Kapoor wrote:
> A make is successful but the dynamically linked ARM executable gives the 
> following error when I execute it on the target,
> 
> ~ # ./gdbserver
> -sh: ./gdbserver: No such file or directory

Then your toolchain does not match your root file system.  Take a look
with readelf -d and readelf -l to see where this binary is searching
for libraries and for the dynamic loader.

> I have a prebuilt toolchain for which I do not have the source code, and 
> libthread_db.a is not present in the toolchain's lib folder, rather 
> libthread_db.so is present. Any pointers, where can I get the toolchain's 
> source and use it to build static librares?, which will in turn be useful 
> in building statically linked gdbserver.

It should be obvious that you haven't given us enough information to
answer this question.

The toolchain is all covered by the GPL.  It is (roughly speaking) the
responsibility of whoever you got it from to provide you the source
code.  Ask them.

-- 
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

  reply	other threads:[~2006-05-04 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 12:05 Problem using gdbserver on ARM target Chetan Kapoor
2006-05-04 14:03 ` Daniel Jacobowitz [this message]
2006-05-04 14:41   ` Chetan Kapoor
2006-05-04 15:37 ` Marc Singer

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=20060504140311.GA32124@nevyn.them.org \
    --to=dan@debian.org \
    --cc=chetan.kapoor@flextronicssoftware.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-arm-toolchain@lists.arm.linux.org.uk \
    --cc=linux-omap-open-source@linux.omap.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