public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: shared library support hookin the remote.c
@ 2004-06-29  2:13 Stephen & Linda Smith
  2004-06-29  6:27 ` Stephen & Linda Smith
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen & Linda Smith @ 2004-06-29  2:13 UTC (permalink / raw)
  To: gdb

Kevin Buettner wrote:

> How does the remote target communicate the necessary details to GDB
>
>then?
>
>It sounds to me as though you want to add the hook so that you can add
>a private protocol extension.
>
>IMO, it's better to hash out the details of a public remote protocol
>extension for shared library support.
>
That would be my preference, but I haven't figured out a generic way.  
Here is the basic problem is that the
remote protocol has no notion of  shared libraries or of segments (TEXT, 
BSS, DATA, etc). Can someone
on this list think of a generic way of getting this data?

A second problem is that the number and names of the segments doesn't 
appear to be consistent.  It was for this
reason that I was thinking of making the protocol a target specific one 
that supports the solib interface. 

>... I'd like to first understand how communication of shared library information
>between GDB and the stub is accomplished and what the protocol looks
>like.
>

I assume you don't mean how the published protocol works.

What I didn't in the passed, was to use a q packet.  If I read the spec 
correctly was to use that packet type to find out if
there were any libraries and to find out the segment addersses.

I don't mind making it a public interface, but from the conversation 
three years ago, I got the idea that the maintainers
weren't especially keen on making it part of the general (i.e remote.c) 
code base.






^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: shared library support
@ 2004-05-20 21:05 Stephen P. Smith
  2004-05-21 20:49 ` Stephen P. Smith
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen P. Smith @ 2004-05-20 21:05 UTC (permalink / raw)
  To: Kevin Buettner; +Cc: gdb

./gdb/solib-svr4.c

     warning ("no shared library support for this OS / ABI");

Sorry about misleading you.

sps

Kevin Buettner wrote:

>On Tue, 18 May 2004 10:08:56 -0700
>"Stephen P. Smith" <ischis2@cox.net> wrote:
>
>  
>
>>Kevin Buettner wrote:
>>
>>    
>>
>>>Where, precisely, is that message coming from?
>>>      
>>>
>>I don't know where it is coming from.  I am using the insight tree, but 
>>I have verified that the GDB code has been mucked with.  The source was 
>>fetched on the 14th from CVS. 
>>    
>>
>
>Would you mind searching for the error message in your source tree?  I
>looked for the message you quoted earlier today in a set of up-to-date
>gdb sources, but came up empty.
>
>You might also try placing a breakpoint on error() or warning() to
>find out where this message is being generated.
>
>Kevin
>
>
>  
>

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2004-08-03 14:58 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29  2:13 shared library support hookin the remote.c Stephen & Linda Smith
2004-06-29  6:27 ` Stephen & Linda Smith
  -- strict thread matches above, loose matches on Subject: below --
2004-05-20 21:05 shared library support Stephen P. Smith
2004-05-21 20:49 ` Stephen P. Smith
2004-06-11 21:14   ` Kevin Buettner
2004-06-24  1:55     ` shared library support hookin the remote.c Stephen & Linda Smith
2004-06-28 21:44       ` Kevin Buettner
2004-06-28 21:45         ` Stephen P. Smith
2004-06-29  1:55           ` Kevin Buettner
2004-06-29  1:56             ` Stephen & Linda Smith
2004-07-01 17:58               ` Kevin Buettner
2004-07-02 20:20                 ` Andrew Cagney
2004-07-02 21:16                   ` Stephen P. Smith
2004-07-02 22:30                     ` Andrew Cagney
2004-07-13 20:15                       ` Stephen P. Smith
2004-07-14 18:30                         ` Andrew Cagney
2004-07-14 18:44                           ` Stephen & Linda Smith
2004-07-14 19:05                             ` Dave Korn
2004-07-14 19:29                             ` Andrew Cagney
2004-07-02 21:25                   ` Kevin Buettner
2004-07-02 22:25                     ` Andrew Cagney
2004-07-02 23:22                       ` Kevin Buettner
2004-07-08 15:04                         ` Andrew Cagney
2004-07-28  3:04                           ` Kevin Buettner
2004-08-03 14:58                             ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).