Remove cleanup from linux-nat.c
authorTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 18:58:34 +0000 (18:58 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 23 Jan 2019 19:06:41 +0000 (19:06 +0000)
commit1db93f14fae0b3a638324e5349fe56a0e625451e
treef772610b174a828a2400ebfafb330a7adec930af
parent2cc83d1e0eeaad9927553ee157f810e43d47d24f
Remove cleanup from linux-nat.c

This removes a cleanup from linux-nat.c, replacing it with a
scope_exit.

gdb/ChangeLog:
2019-01-23  Tom Tromey  <tom@tromey.com>
    Pedro Alves  <palves@redhat.com>

* linux-nat.c: Include scope-exit.h.
(cleanup_target_stop): Remove.
(linux_nat_target::static_tracepoint_markers_by_strid): Use
SCOPE_EXIT.
gdb/ChangeLog
gdb/linux-nat.c