]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infrun.c
Remove remaining cleanup from fetch_inferior_event
authorTom Tromey <tom@tromey.com>
Wed, 23 Jan 2019 18:58:35 +0000 (18:58 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 23 Jan 2019 19:14:44 +0000 (19:14 +0000)
commitd238133d0292926b937aaa6f83bf921dd0bbb01c
treeadd216a70ed4a3b0903ca76ee3916c1a17627836
parent9885e6bb5b0f6f0147f9b3a15a4bd4516faf4a26
Remove remaining cleanup from fetch_inferior_event

This removes the remaining cleanup from fetch_inferior_event,
replacing it with a SCOPE_EXIT.  This required introducing a new scope
and reindenting.

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

* infrun.c (reinstall_readline_callback_handler_cleanup): Remove
parameter.
(fetch_inferior_event): Use SCOPE_EXIT.
gdb/ChangeLog
gdb/infrun.c