* [RFA/doco] expand solib_unloaded documentation...
@ 2009-09-23 22:43 Joel Brobecker
2009-09-24 3:05 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2009-09-23 22:43 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
Hello,
It turns out from a discussion on when to reset watchpoint expressions
that it's important to know when solib_unloaded notifications are sent
(either before or after the solib's symbols are unloaded). Right now,
the notications are sent before, so this patch documents this fact.
2009-09-23 Joel Brobecker <brobecker@adacore.com>
* observer.texi (solib_unloaded): Document explicitly the fact that
this observer is called before the associated symbols are unloaded.
Tested by rebuilding gdb on x86_64-linux.
OK to apply?
Thanks,
--
Joel
[-- Attachment #2: solib_unloaded.diff --]
[-- Type: text/x-diff, Size: 819 bytes --]
commit 3bfb23d8921e95be5745080b913c0a81be6907fe
Author: Joel Brobecker <brobecker@adacore.com>
Date: Wed Sep 23 15:39:24 2009 -0700
* observer.texi (solib_unloaded): Document explicitly the fact that
this observer is called before the associated symbols are unloaded.
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 4984f31..77d6b47 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})
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/doco] expand solib_unloaded documentation...
2009-09-23 22:43 [RFA/doco] expand solib_unloaded documentation Joel Brobecker
@ 2009-09-24 3:05 ` Eli Zaretskii
2009-09-24 17:50 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2009-09-24 3:05 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
> Date: Wed, 23 Sep 2009 15:43:15 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> 2009-09-23 Joel Brobecker <brobecker@adacore.com>
>
> * observer.texi (solib_unloaded): Document explicitly the fact that
> this observer is called before the associated symbols are unloaded.
>
> Tested by rebuilding gdb on x86_64-linux.
> OK to apply?
Yes, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA/doco] expand solib_unloaded documentation...
2009-09-24 3:05 ` Eli Zaretskii
@ 2009-09-24 17:50 ` Joel Brobecker
0 siblings, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2009-09-24 17:50 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb-patches
> > 2009-09-23 Joel Brobecker <brobecker@adacore.com>
> >
> > * observer.texi (solib_unloaded): Document explicitly the fact that
> > this observer is called before the associated symbols are unloaded.
>
> Yes, thanks.
Thanks. Checked in (HEAD only).
--
Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-24 17:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-23 22:43 [RFA/doco] expand solib_unloaded documentation Joel Brobecker
2009-09-24 3:05 ` Eli Zaretskii
2009-09-24 17:50 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox