This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Shared libraries and the solib interface
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Stephen & Linda Smith <ischis2 at cox dot net>,Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb <gdb at sources dot redhat dot com>
- Date: Wed, 08 Oct 2003 11:44:15 -0400
- Subject: Re: Shared libraries and the solib interface
- References: <3F7BA58F.9050803@cox.net>
I am thinking of working on using writing a solib-remote.c interface file to implement loading of shared libraries. I believe that this is what Kevin suggested a couple of years ago, but I was too stuborn and dropped it. The item that I am confused about is how to have the remote box (which uses the current remote protocol) communicate back to the host the fact that a shared library has been loaded. Does anyone have suggestions?
Andrew - are you the one I need to work with on protocol questions
Yes. The thing to do is figure out what you want to transfer between
the host/target and then I can help with the protocol.
So you and Kevin are both clear on the process. The protocol change is
first taken to the point where it "looks ok" and "appears to work". It
is then posted to gdb@ as a formal proposal (given at least a week with
allowances for holidays). This formalization step is important, it
ensures that people (including me :-) don't shoe-horn poorly thought out
protocol changes when no one is looking. You'll see DanielJ's vCont
packet is now in that final review phase.
Andrew