This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/5] cleanup infrun.c:handle_inferior_event some more.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]