aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-07-21 16:47:11 +0000
committerTom Tromey <tromey@redhat.com>2008-07-21 16:47:11 +0000
commit781b42b0ba532fe1d16fddce1301180dfd184788 (patch)
tree37223372bf374ebfab3b61b4127c0a253d7c9e9c /gdb/doc
parent88ba32a0f9fbca4cc01eceb41c671a76375f4595 (diff)
downloadgdb-781b42b0ba532fe1d16fddce1301180dfd184788.zip
gdb-781b42b0ba532fe1d16fddce1301180dfd184788.tar.gz
gdb-781b42b0ba532fe1d16fddce1301180dfd184788.tar.bz2
gdb
* symfile.c (reread_symbols): Don't pass argument to observer. * exec.c (exec_file_attach): Don't pass argument to observer. * ada-lang.c (ada_executable_changed_observer): Remove argument. * symtab.c (symtab_observer_executable_changed): Remove argument. * observer.sh: Handle functions with no arguments. gdb/doc * observer.texi (GDB Observers): Remove obsolete comment. <executable_changed>: Remove argument.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/observer.texi5
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3c6b66d..5378fdb 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-21 Tom Tromey <tromey@redhat.com>
+
+ * observer.texi (GDB Observers): Remove obsolete comment.
+ <executable_changed>: Remove argument.
+
2008-07-18 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Macros): Update. Use @code rather than @command.
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi
index 7d4d808..572f237 100644
--- a/gdb/doc/observer.texi
+++ b/gdb/doc/observer.texi
@@ -88,8 +88,6 @@ Send a notification to all @var{event} observers.
The following observable events are defined:
-@c note: all events must take at least one parameter.
-
@deftypefun void normal_stop (struct bpstats *@var{bs})
The inferior has stopped for real.
@end deftypefun
@@ -98,7 +96,7 @@ The inferior has stopped for real.
The target's register contents have changed.
@end deftypefun
-@deftypefun void executable_changed (void *@var{unused_args})
+@deftypefun void executable_changed (void)
The executable being debugged by GDB has changed: The user decided
to debug a different program, or the program he was debugging has
been modified since being loaded by the debugger (by being recompiled,
@@ -141,4 +139,3 @@ The thread specified by @var{t} has exited.
The target was resumed. The @var{ptid} parameter specifies which
thread was resume, and may be RESUME_ALL if all threads are resumed.
@end deftypefun
-