From: Kevin Buettner <kevinb@redhat.com>
To: "Stephen P. Smith" <ischis2@cox.net>, Kevin Buettner <kevinb@redhat.com>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: Shared libraries and the solib interface
Date: Thu, 02 Oct 2003 23:18:00 -0000 [thread overview]
Message-ID: <1031002231840.ZM21724@localhost.localdomain> (raw)
In-Reply-To: "Stephen P. Smith" <ischis2@cox.net> "Re: Shared libraries and the solib interface" (Oct 2, 1:50pm)
On Oct 2, 1:50pm, Stephen P. Smith wrote:
> Kevin Buettner wrote:
>
> >>And a second question is how does a
> >>generic stub inform the GDB (workstation side) app which shared library
> >>got loaded and where or is this not necessary?
> >
> >For svr4- and sunos-like shared library support, this information is
> >available by examining the target's memory.
> >
> It is available. I guess I didn't explain well enough.
Oh!
> Given that I know where/what is loaded on the target machine which is
> running gdbserver, how do I communicate to the workstation running gdb
> to load the symbol file and the addresses of the various sections?
That's already handled by the existing (generic) shared library code.
See solib.c.
Kevin
next prev parent reply other threads:[~2003-10-02 23:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 4:08 Stephen & Linda Smith
2003-10-02 5:43 ` Kevin Buettner
2003-10-02 6:26 ` Stephen & Linda Smith
2003-10-02 19:15 ` Kevin Buettner
2003-10-02 20:50 ` Stephen P. Smith
2003-10-02 23:18 ` Kevin Buettner [this message]
2003-10-08 15:44 ` Andrew Cagney
[not found] <1065665939.20950.ezmlm@sources.redhat.com>
2003-10-09 14:01 ` John S. Yates, Jr.
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=1031002231840.ZM21724@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=ischis2@cox.net \
/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