From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Stephen Smith Cc: Elena Zannoni , GDB patches Subject: Re: shared libraries and a remote target Date: Fri, 20 Jul 2001 17:26:00 -0000 Message-id: <3B58CC26.7040104@cygnus.com> References: <3B55CD58.13771694@home.com> <15189.59080.526458.935802@krustylu.cygnus.com> <3B575CCC.E4B5E759@home.com> <15191.36790.456922.418332@krustylu.cygnus.com> <3B57BDE9.82F6B5EB@home.com> X-SW-Source: 2001-07/msg00539.html > Actually, some of my internal co-workers are so allergic to changes in gdbserver > that I would rather do something in the patch. [Thinking out load]. Adding more > overhead to the traffic over the wire cause a couple of other developers heartburn. It > would also mean writing code to do essentially the same thing as the *_command > function because it already parses the string and then calls symbol_file_add. Since calling > that function isn't what is wanted from an architectural perspective, why don't I "copy" the > code to remote.c (renaming the function in the process) and then then symfile patches > won't be needed and the code should be about the same size. Sorry to hear this. Unfortunatly the GDB protocol is a public document and proposed changes are only accepted after careful public review. Could you please post to ``GDB Discussion '' a RFC for the new packet. Could you also include an example. If you look through the archives you'll see that Michael Snyder recently did this for the qSymbol packet. Also, would you be able to post a working example of the stub? Andrew