diff options
author | Nicolas Blanc <nicolas.blanc@intel.com> | 2013-03-12 11:10:18 +0100 |
---|---|---|
committer | Nicolas Blanc <nicolas.blanc@intel.com> | 2013-10-29 10:56:07 +0100 |
commit | 63644780babdca3f40e1978a236b6cd78473c91b (patch) | |
tree | 03ed0d042a594a71df9c9921b1c8f9c1018675f0 /gdb/doc/observer.texi | |
parent | 487ad57ccfe1434e21774117d20dfd9e23f12afa (diff) | |
download | gdb-63644780babdca3f40e1978a236b6cd78473c91b.zip gdb-63644780babdca3f40e1978a236b6cd78473c91b.tar.gz gdb-63644780babdca3f40e1978a236b6cd78473c91b.tar.bz2 |
New remove-symbol-file command.
New command for removing symbol files added via
the add-symbol-file command.
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* breakpoint.c (disable_breakpoints_in_freed_objfile): New function.
* objfiles.c (free_objfile): Notify free_objfile.
(is_addr_in_objfile): New function.
* objfiles.h (is_addr_in_objfile): New declaration.
* printcmd.c (clear_dangling_display_expressions): Act upon free_objfile
events instead of solib_unloaded events.
(_initialize_printcmd): Register observer for free_objfile instead
of solib_unloaded notifications.
* solib.c (remove_user_added_objfile): New function.
* symfile.c (remove_symbol_file_command): New command.
(_initialize_symfile): Add remove-symbol-file.
gdb/doc
* observer.texi: New free_objfile event.
Signed-off-by: Nicolas Blanc <nicolas.blanc@intel.com>
Diffstat (limited to 'gdb/doc/observer.texi')
-rw-r--r-- | gdb/doc/observer.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index adb7085..f753965 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -138,6 +138,10 @@ Called with @var{objfile} equal to @code{NULL} to indicate previously loaded symbol table data has now been invalidated. @end deftypefun +@deftypefun void free_objfile (struct objfile *@var{objfile}) +The object file specified by @var{objfile} is about to be freed. +@end deftypefun + @deftypefun void new_thread (struct thread_info *@var{t}) The thread specified by @var{t} has been created. @end deftypefun |