From: Simo Melenius <smelenius@nvidia.com>
To: Daniel Jacobowitz <dan@codesourcery.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Program image not relocated if it's a solib already loaded by dlopen()
Date: Mon, 19 Apr 2010 15:42:00 -0000 [thread overview]
Message-ID: <alpine.DEB.2.00.1004191840050.18242@geist> (raw)
In-Reply-To: <20100419142148.GA26752@caradoc.them.org>
On Mon, 19 Apr 2010, Daniel Jacobowitz wrote:
> First of all, I assume this is an arm-linux-gnueabi GDB. If it were
> an ARM EABI gdb, you wouldn't get shared library support at all. But
> that may be your problem.
Sorry for the confusion, gnueabi it is. And I have shared libraries, and I
generally can debug them with gdb.
> Secondly, don't do this. If you want to debug libfoo.so, just make
> sure GDB has search paths set up, and start GDB on the executable.
> Otherwise, it can not find the load map. No shared library support is
> going to work properly in this case.
Thank you, this is exactly the kind of clarification I was looking for.
Just wasn't sure of what gdb is supposed to support in the end.
kind regards,
Simo
--
Simo Melenius, NVIDIA Corporation, smelenius@nvidia.com, http://eu.nvidia.com
prev parent reply other threads:[~2010-04-19 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 19:20 Simo Melenius
2010-04-19 14:22 ` Daniel Jacobowitz
2010-04-19 15:42 ` Simo Melenius [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=alpine.DEB.2.00.1004191840050.18242@geist \
--to=smelenius@nvidia.com \
--cc=dan@codesourcery.com \
--cc=gdb@sourceware.org \
/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