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)
committerTom Tromey <tromey@adacore.com>
Wed, 20 Mar 2019 17:09:10 +0000 (11:09 -0600)
commit595915c1c135a77afa01d30a888a48fcc55a08ec
tree6f00f75289ee8f7139451798022510310c6b6392
parente946b687baa552034ee57f3c119e56a20961452e
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>

* 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