* 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.
This commit is contained in:
Tom Tromey 2008-07-21 16:47:11 +00:00
parent 88ba32a0f9
commit 781b42b0ba
8 changed files with 33 additions and 8 deletions

View file

@ -9769,7 +9769,7 @@ ada_exception_support_info_sniffer (void)
each time a new executable is loaded by GDB. */
static void
ada_executable_changed_observer (void *unused)
ada_executable_changed_observer (void)
{
/* If the executable changed, then it is possible that the Ada runtime
is different. So we need to invalidate the exception support info