]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/progspace.c
Remove call to exec_close
authorTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:33 +0000 (15:04 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:41 +0000 (15:04 -0600)
commit8407f91bd388952721efa7f12c75bf94324dc506
tree1bce9f269d8dacd92fb546d909faf53e64402dda
parent5008b3b2ebb6859212a3fd6a716dc4278d9b14bb
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.
gdb/ChangeLog
gdb/progspace.c