infrun.c:handle_inferior_event: Make process_event_stop_test label a function.
authorPedro Alves <palves@redhat.com>
Mon, 28 Oct 2013 16:39:06 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 28 Oct 2013 16:47:01 +0000 (16:47 +0000)
commit94c57d6a62c6564e9a8ecbdbe3ee9ade20e5d269
tree14a2a41682895cba7c8db25d583c3993ea017954
parentfcf3daefe6e48a4f3b802f0adad2a16639cef126
infrun.c:handle_inferior_event: Make process_event_stop_test label a function.

Now that all ecs->random_signal handing is always done before the
'process_event_stop_test' label, we can easily make that a real
function and actually give it a describing comment that somewhat makes
sense.

Reindenting the new function will be handled in a follow up patch.

2013-10-28  Pedro Alves  <palves@redhat.com>

* infrun.c (process_event_stop_test): New function, factored out
from handle_inferior_event.
(handle_inferior_event): 'process_event_stop_test' is now a
function instead of a goto label -- adjust.
gdb/ChangeLog
gdb/infrun.c