Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jorma Laaksonen <jorma.laaksonen@hut.fi>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Kevin Buettner <kevinb@redhat.com>,
	gdb-gnats@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: gdb/633: fully qualified pathnames in solib_map_sections() and remote debugging
Date: Mon, 12 Aug 2002 04:18:00 -0000	[thread overview]
Message-ID: <x4hei0gwaw.fsf@james.hut.fi> (raw)
In-Reply-To: <20020812032527.GA3838@nevyn.them.org>

Daniel Jacobowitz <drow@mvista.com> writes:

> > >    Global variable SOLIB_ABSOLUTE_PREFIX is used as a prefix directory
> > >    to search for shared libraries if they have an absolute path.
> > > 
> > >    Global variable SOLIB_SEARCH_PATH is used as a prefix directory
> > >    (or set of directories, as in LD_LIBRARY_PATH) to search for all
> > >    shared libraries if not found in SOLIB_ABSOLUTE_PREFIX.
> > > 
> > >    Search order:
> > >    * If path is absolute, look in SOLIB_ABSOLUTE_PREFIX.
> > >    * If path is absolute or relative, look for it literally (unmodified).
> > >    * Look in SOLIB_SEARCH_PATH.
> > >    * Look in inferior's $PATH.
> > >    * Look in inferior's $LD_LIBRARY_PATH.
> > > 
> > ...

Thank you very much for giving thoughs to this issue.  I have two additional
points to add:

1) It would be most useful if gdb could check that the remote and local
solibs are equal, eg. that their versions, checksums or other identifiers
or the memory mapping locations such as reported by ldd are the same.
Otherwise, the host cannot know what really is going on in the target.

2) The texinfo documentation should be updated to include these vaariables.
In the first place, I was reading info pages and therefore concluded
that the problem had not been addressed before.  Only after your reply
I checked "help show" within gdb.

Yours,

Jorma Laaksonen


-- 
Jorma Laaksonen                                 email: jorma.laaksonen@hut.fi
Dr. of Science in Technology, Docent            http://www.cis.hut.fi/jorma/
Laboratory of Computer and Information Science  tel. +358-9-4513269
Helsinki University of Technology               fax. +358-9-4513277
P.O.Box 5400, Fin-02015 HUT, Finland            mob. +358-50-3058719


  reply	other threads:[~2002-08-12 11:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020806100634.11483.qmail@sources.redhat.com>
2002-08-06  6:20 ` Daniel Jacobowitz
2002-08-09 16:12   ` Kevin Buettner
2002-08-11 20:25     ` Daniel Jacobowitz
2002-08-12  4:18       ` Jorma Laaksonen [this message]
2002-08-12  7:28       ` Andrew Cagney
2002-08-12  7:37         ` Daniel Jacobowitz
2002-08-12  8:07           ` Andrew Cagney
2002-08-12  8:48             ` Kevin Buettner
2002-08-12  8:55               ` Daniel Jacobowitz
2002-08-12  9:20                 ` Kevin Buettner
2002-08-12  9:29                   ` Daniel Jacobowitz
2002-08-12  9:20               ` Andrew Cagney
2002-08-12  9:31                 ` Daniel Jacobowitz
2002-08-12  9:40                 ` Kevin Buettner
2002-08-12  9:53                   ` GDB functionalities for debugging Elf core dump Lucy Zhang

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=x4hei0gwaw.fsf@james.hut.fi \
    --to=jorma.laaksonen@hut.fi \
    --cc=drow@mvista.com \
    --cc=gdb-gnats@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=kevinb@redhat.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