diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-07 22:51:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-07 22:51:55 +0000 |
commit | 2b4855ab6b8e69b375c49df490db63ececf17da8 (patch) | |
tree | fa50b31fc2d7328ee97a0468805e0a05a3f7fd03 /gdb/doc/observer.texi | |
parent | ba3e8e46435a896352acc4be831145dfec819f5f (diff) | |
download | gdb-2b4855ab6b8e69b375c49df490db63ececf17da8.zip gdb-2b4855ab6b8e69b375c49df490db63ececf17da8.tar.gz gdb-2b4855ab6b8e69b375c49df490db63ececf17da8.tar.bz2 |
2004-05-07 Andrew Cagney <cagney@redhat.com>
* observer.c: Include "commands.h" and "gdbcmd.h".
(observer_debug, _initialize_observer): Add the
command "set/show debug observer".
* observer.sh: When observer debugging, log notify calls.
* Makefile.in (observer.o): Update dependencies.
Index: doc/ChangeLog
2004-05-07 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Add "Debugging" section. Include
cross reference to "set/show debug observer".
* gdb.texinfo (Debugging Output): Document "set/show debug
observer".
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r-- | gdb/doc/observer.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index 5c1c2c5..fa7e1c3 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -35,6 +35,11 @@ The observer implementation is also currently not reentrant. In particular, it is therefore not possible to call the attach or detach routines during a notification. +@section Debugging +Observer notifications can be traced using the command @samp{set debug +observer 1} (@pxref{Debugging Output, , Optional messages about +internal happenings, gdb, Debugging with @var{GDBN}}). + @section @code{normal_stop} Notifications @cindex @code{normal_stop} observer @cindex notification about inferior execution stop |