This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Introduce solib_loaded observer


   Date: Sun, 09 Jan 2005 06:37:17 +0200
   From: "Eli Zaretskii" <eliz@gnu.org>

   > +@deftypefun void solib_loaded (struct so_list *@var{solib})
   > +The specified shared library has been discovered to be loaded.

   It's probably better to say

     The shared library specified by @var{solib} has been loaded.

This is what I actually checked in:

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* observer.texi (GDB Observers): Document "solib_loaded".

Index: observer.texi
===================================================================
RCS file: /cvs/src/src/gdb/doc/observer.texi,v
retrieving revision 1.8
diff -u -p -r1.8 observer.texi
--- observer.texi 1 Sep 2004 17:59:37 -0000 1.8
+++ observer.texi 12 Jan 2005 20:45:47 -0000
@@ -91,7 +91,12 @@ at the entry-point instruction.  For @sa
 inferior, and before any information on the inferior has been printed.
 @end deftypefun
 
-@deftypefun void solib_unloaded (struct so_list *@var{solib})
-The specified shared library has been discovered to be unloaded.
+@deftypefun void solib_loaded (struct so_list *@var{solib})
+The shared library specified by @var{solib} has been loaded.  Note that
+when @value{GDBN} calls this observer, the library's symbols probably
+haven't been loaded yet.
 @end deftypefun
 
+@deftypefun void solib_unloaded (struct so_list *@var{solib})
+The shared library specified by @var{solib} has been unloaded.
+@end deftypefun


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]