From 30a4a70c9c3137e983dea99da3eb45c46022a563 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 24 Sep 2009 17:49:56 +0000 Subject: [PATCH] * observer.texi (solib_unloaded): Document explicitly the fact that this observer is called before the associated symbols are unloaded. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/observer.texi | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 50f0b258c0..7e6a2b0ca9 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-23 Joel Brobecker + + * observer.texi (solib_unloaded): Document explicitly the fact that + this observer is called before the associated symbols are unloaded. + 2009-09-19 Vladimir Prus * gdb.texinfo (GDB/MI Stack Manipulation): Document diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index 4984f31813..77d6b47ce5 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -122,6 +122,8 @@ haven't been loaded yet. @deftypefun void solib_unloaded (struct so_list *@var{solib}) The shared library specified by @var{solib} has been unloaded. +Note that when @value{GDBN} calls this observer, the library's +symbols have not been unloaded yet, and thus are still available. @end deftypefun @deftypefun void new_objfile (struct objfile *@var{objfile})