Switch the inferior too in switch_to_program_space_and_thread
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index bcab1daddd36e08832808c8426722ba98e5239ab..3eae3e1a6b6397b7819fe58763660568dba00fee 100644 (file)
@@ -1,3 +1,15 @@
+2020-01-10  Aleksandar Paunovic  <aleksandar.paunovic@intel.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * progspace-and-thread.c (switch_to_program_space_and_thread):
+       Assert there's an inferior for PSPACE.  Use
+       switch_to_inferior_no_thread to switch the inferior too.
+       * progspace.c (program_space::~program_space): Call
+       clear_symtab_users here, with SYMFILE_DEFER_BP_RESET.
+       (program_space::free_all_objfiles): Don't call clear_symtab_users
+       here.
+       * symfile.c (symbol_file_clear): Call clear_symtab_users here.
+
 2020-01-10  Pedro Alves  <palves@redhat.com>
 
        * NEWS: Mention multi-target debugging, "info connections", and
This page took 0.024056 seconds and 4 git commands to generate.