aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-07 22:51:55 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-07 22:51:55 +0000
commit2b4855ab6b8e69b375c49df490db63ececf17da8 (patch)
treefa50b31fc2d7328ee97a0468805e0a05a3f7fd03 /gdb/doc
parentba3e8e46435a896352acc4be831145dfec819f5f (diff)
downloadfsf-binutils-gdb-2b4855ab6b8e69b375c49df490db63ececf17da8.zip
fsf-binutils-gdb-2b4855ab6b8e69b375c49df490db63ececf17da8.tar.gz
fsf-binutils-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')
-rw-r--r--gdb/doc/ChangeLog7
-rw-r--r--gdb/doc/gdb.texinfo7
-rw-r--r--gdb/doc/observer.texi5
3 files changed, 19 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 977a00f..00f666d 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,10 @@
+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".
+
2004-05-01 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 80d3225..aa82d06 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -13404,6 +13404,13 @@ default is off.
@item show debug frame
Displays the current state of displaying @value{GDBN} frame debugging
info.
+@kindex set debug observer
+@item set debug observer
+Turns on or off display of @value{GDBN} observer debugging. This
+includes info such as the notification of observable events.
+@kindex show debug observer
+@item show debug observer
+Displays the current state of observer debugging.
@kindex set debug overload
@item set debug overload
Turns on or off display of @value{GDBN} C@t{++} overload debugging
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