60db1b8 Don't write to inferior_ptid in corelow.c

Authored and Committed by palves 3 years ago
    Don't write to inferior_ptid in corelow.c
    
    gdb/ChangeLog:
    2020-06-18  Pedro Alves  <palves@redhat.com>
    
    	* corelow.c (core_target::close): Use switch_to_no_thread instead
    	of writing to inferior_ptid directly.
    	(add_to_thread_list, core_target_open): Use switch_to_thread
    	instead of writing to inferior_ptid directly.
        
file modified
+7 -0
file modified
+9 -11