mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Remove call to exec_close
There's no need to call exec_close from ~progspace, because that method just does some cleanup that's already going to be done during destruction. This patch removes the call. gdb/ChangeLog 2020-10-29 Tom Tromey <tom@tromey.com> * progspace.c (program_space::~program_space): Don't call exec_close.
This commit is contained in:
parent
5008b3b2eb
commit
8407f91bd3
@ -1,3 +1,8 @@
|
||||
2020-10-29 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* progspace.c (program_space::~program_space): Don't call
|
||||
exec_close.
|
||||
|
||||
2020-10-29 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* exec.c (exec_target::close): Don't change current program
|
||||
|
@ -147,7 +147,6 @@ program_space::~program_space ()
|
||||
|
||||
breakpoint_program_space_exit (this);
|
||||
no_shared_libraries (NULL, 0);
|
||||
exec_close ();
|
||||
free_all_objfiles ();
|
||||
/* Defer breakpoint re-set because we don't want to create new
|
||||
locations for this pspace which we're tearing down. */
|
||||
|
Loading…
Reference in New Issue
Block a user