From 9ac6985971f0af43d4dd385798db42eecb4ea98b Mon Sep 17 00:00:00 2001 From: Nicolas Blanc Date: Tue, 29 Oct 2013 17:32:17 +0100 Subject: [PATCH] ChangeLog entries for the remove-symbol-file commits. --- gdb/ChangeLog | 20 ++++++++++++++++++++ gdb/doc/ChangeLog | 6 ++++++ gdb/testsuite/ChangeLog | 9 +++++++++ 3 files changed, 35 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7089f6642cb..23a21626650 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2013-10-29 Nicolas Blanc + + * 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 * infcmd.c (default_print_one_register_info): Use val_print to diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index c66a1528193..de08c13b347 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2013-10-29 Nicolas Blanc + + * 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 * gdb.texinfo (Starting): Document set/show startup-with-shell. diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 95423173b04..69656a9a81d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2013-10-29 Nicolas Blanc + + * 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 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs -- 2.30.2