2009-04-20 David Daney * infrun.c (handle_inferior_event): Move registers_changed call down. Index: infrun.c =================================================================== RCS file: /cvs/src/src/gdb/infrun.c,v retrieving revision 1.368 diff -u -p -r1.368 infrun.c --- infrun.c 14 Apr 2009 00:59:47 -0000 1.368 +++ infrun.c 20 Apr 2009 18:14:35 -0000 @@ -2842,9 +2842,9 @@ targets should add new threads to the th if (!HAVE_STEPPABLE_WATCHPOINT) remove_breakpoints (); - registers_changed (); /* Single step */ hw_step = maybe_software_singlestep (current_gdbarch, read_pc ()); + registers_changed (); target_resume (ecs->ptid, hw_step, TARGET_SIGNAL_0); waiton_ptid = ecs->ptid; if (HAVE_STEPPABLE_WATCHPOINT)