ChangeLog entries for the remove-symbol-file commits.

This commit is contained in:
Nicolas Blanc 2013-10-29 17:32:17 +01:00
parent 24ba476b64
commit 9ac6985971
3 changed files with 35 additions and 0 deletions

View File

@ -1,3 +1,23 @@
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* exec.h (add_target_sections_of_objfile): New declaration.
* exec.c (add_target_sections_of_objfile): New function.
* symfile.c (add_symbol_file_command): Update current target sections.
(remove_symbol_file_command): New command.
(symfile_free_objfile): New function.
(_initialize_symfile): Register observer for free_objfile events.
* NEWS: Add description of the remove-symbol-file command.
* 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.
(_initialize_symfile): Add remove-symbol-file.
2013-10-29 Andrew Burgess <aburgess@broadcom.com>
* infcmd.c (default_print_one_register_info): Use val_print to

View File

@ -1,3 +1,9 @@
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* gdb.texinfo (Commands to Specify Files): Add description
of the remove-symbol-file command.
* observer.texi: New free_objfile event
2013-10-24 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Starting): Document set/show startup-with-shell.

View File

@ -1,3 +1,12 @@
2013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
* gdb.base/sym-file-lib.c: New file.
* gdb.base/sym-file-loader.c: New file.
* gdb.base/sym-file-loader.h: New file.
* gdb.base/sym-file-main.c: New file.
* gdb.base/sym-file.exp: New file.
* lib/gdb.exp (is_elf_target): New function.
2013-10-29 Pedro Alves <palves@redhat.com>
* gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs