Merge handle_inferior_event and handle_inferior_event_1
authorTom Tromey <tromey@adacore.com>
Wed, 20 Mar 2019 13:57:09 +0000 (07:57 -0600)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 26 Mar 2019 21:27:42 +0000 (17:27 -0400)
commite8ad6586f1568233cbd48d041656d0774ffdc0fb
treecc66b3e00e534993e6e6baee6e40c539f613db4c
parent154eab6dec772e705b4eefe34ebfefec8808c2cf
Merge handle_inferior_event and handle_inferior_event_1

I noticed that handle_inferior_event is just a small wrapper that
frees the value chain.  This patch replaces it with a
scoped_value_mark, reducing the number of lines of code here.

Regression tested on x86-64 Fedora 29.

gdb/ChangeLog
2019-03-20  Tom Tromey  <tromey@adacore.com>

PR gdb/24391
* infrun.c (handle_inferior_event): Rename from
handle_inferior_event_1.  Create a scoped_value_mark.
(handle_inferior_event): Remove.
gdb/ChangeLog
gdb/infrun.c