[PATCH] Merge handle_inferior_event and handle_inferior_event_1

Pedro Alves palves@redhat.com
Wed Mar 20 16:21:00 GMT 2019


On 03/20/2019 02:08 PM, Tom Tromey wrote:
> 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.

OK.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list