aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
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/symfile.c
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/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 12f17ac..1825641 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2495,7 +2495,7 @@ reread_symbols (void)
clear_symtab_users ();
/* At least one objfile has changed, so we can consider that
the executable we're debugging has changed too. */
- observer_notify_executable_changed (NULL);
+ observer_notify_executable_changed ();
}
}