Remove last cleanup from gdbserver
authorTom Tromey <tom@tromey.com>
Thu, 24 Jan 2019 05:20:04 +0000 (22:20 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 6 Mar 2019 23:04:31 +0000 (16:04 -0700)
commit37991b4f52e7d13c586137f401ac65dec4aa732f
tree57d245d602a554f1a7cd3a05ae04ad4609f10eac
parent32603266e5688718faad35b7502aa0b72a42764a
Remove last cleanup from gdbserver

This removes the last cleanup from gdbserver, replacing it with
SCOPE_EXIT.  This could perhaps be done in a different way, but this
approach was direct and obviously correct.

2019-03-06  Tom Tromey  <tom@tromey.com>

* server.c (detach_or_kill_for_exit_cleanup): Remove parameter.
(captured_main): Use SCOPE_EXIT.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c