mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
gdb: pass program space to no_shared_libraries
Make the current program space reference bubble up one level. Pass `current_program_space` everywhere, except in some cases where we can get the pspace another way, and it's relatively obvious that it's the same as the current program space. Change-Id: Id86b79f1e44f92a398f49d137d57457174dfa96d Approved-By: Tom Tromey <tom@tromey.com> Reviewed-By: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
This commit is contained in:
committed by
Simon Marchi
parent
89dc60d957
commit
b8c9d0de90
@@ -115,7 +115,7 @@ program_space::~program_space ()
|
||||
set_current_program_space (this);
|
||||
|
||||
breakpoint_program_space_exit (this);
|
||||
no_shared_libraries ();
|
||||
no_shared_libraries (this);
|
||||
free_all_objfiles ();
|
||||
/* Defer breakpoint re-set because we don't want to create new
|
||||
locations for this pspace which we're tearing down. */
|
||||
|
||||
Reference in New Issue
Block a user