LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: surendra.yadav@softdel.com
Cc: linuxppc-dev@ozlabs.org
Subject: Re: gdbserver problem on powerpc.
Date: Tue, 26 Apr 2005 16:38:37 +0200	[thread overview]
Message-ID: <20050426143842.A1FFFC1510@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 26 Apr 2005 18:35:47 +0530." <BPEMKMADCCCPHPEDDKOOCEDLCEAA.surendra.yadav@softdel.com>

In message <BPEMKMADCCCPHPEDDKOOCEDLCEAA.surendra.yadav@softdel.com> you wrote:
> 
> I downloaded gdb-6.0 and cross compiled gdbserver for powerpc platform.
> 
> When gdbserver I tried to run gdbserver it gives "No such file or
> directory".

Did you link gdbserver statically, or are you using shared libraries?
Is any other application using the same  libraries  working  on  your
target?

> But I can see this file is present in the bin directory. Even I tried
> precompiled binary from ELDK but that also does not work and gives the same
> message. Can any one suggest what is the wrong?

The ELDK's gdbserver is dynamically linked:

-> ppc_8xx-ldd /opt/eldk/ppc_8xx/usr/bin/gdbserver
        libthread_db.so.1 => /opt/eldk-3.1/ppc_8xx/lib/libthread_db.so.1
	libc.so.6 => /opt/eldk-3.1/ppc_8xx/lib/libc.so.6
	ld.so.1 => /opt/eldk-3.1/ppc_8xx/lib/ld.so.1

Make sure to include the required libraries and /lib/ld.so.1 in  your
target filesystem.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
CONSUMER NOTICE:  Because  of  the  "Uncertainty  Principle,"  It  Is
Impossible  for  the  Consumer  to  Find  Out  at  the Same Time Both
Precisely Where This Product Is and How Fast It Is Moving.

      parent reply	other threads:[~2005-04-26 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 13:05 gdbserver problem on powerpc Surendra Yadav
2005-04-26 13:31 ` Jaap-Jan Boor
2005-04-26 14:38 ` Wolfgang Denk [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=20050426143842.A1FFFC1510@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=surendra.yadav@softdel.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