This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/5] cleanup infrun.c:handle_inferior_event some more.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 23 Oct 2013 21:06:55 +0100
- Subject: [PATCH 0/5] cleanup infrun.c:handle_inferior_event some more.
- Authentication-results: sourceware.org; auth=none
Here are some more cleanups to handle_inferior_event, while I'm
looking at it. It ends up breaking handle_inferior_event in two
halves plus one smaller piece. handle_inferior_event ends up a bit
over half of its current size (~2100 -> ~1200 lines), which I think
everyone will agree is better than the status quo.
Tested on x86_64 Fedora 17.
Pedro Alves (5):
infrun.c:handle_inferior_event: Remove some more dead code.
infrun.c:handle_inferior_event: Put all ecs->random_signal tests
together.
infrun.c:handle_inferior_event: Move process_event_stop_test goto
label.
infrun.c:handle_inferior_event: Make process_event_stop_test label a
function.
infrun.c:process_event_stop_test: Reindent.
gdb/infrun.c | 585 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 297 insertions(+), 288 deletions(-)
--
1.7.11.7