diff options
author | Tom Tromey <tromey@redhat.com> | 2008-07-21 16:47:11 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-07-21 16:47:11 +0000 |
commit | 1698a906a2c14590f966fc5472ab18e47fb5eaee (patch) | |
tree | 4b315d23cc421077369d54f2c9faeaee2e516491 /gdb/symtab.c | |
parent | 6d3564d709d68aeaf68ccc711e45c970e5a0cce8 (diff) | |
download | gdb-1698a906a2c14590f966fc5472ab18e47fb5eaee.tar.gz |
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/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index f676a0cc111..2ab520d515e 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4325,7 +4325,7 @@ main_name (void) /* Handle ``executable_changed'' events for the symtab module. */ static void -symtab_observer_executable_changed (void *unused) +symtab_observer_executable_changed (void) { /* NAME_OF_MAIN may no longer be the same, so reset it for now. */ set_main_name (NULL); |