* infcmd.c (post_create_inferior): ... to here.
+2009-05-05 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * fork-child.c (startup_inferior): Move setting stop_pc ...
+ * infcmd.c (post_create_inferior): ... to here.
+
2009-05-04 Pedro Alves <pedro@codesourcery.com>
* go32-nat.c (go32_stop): Delete.
/* Mark all threads non-executing. */
set_executing (pid_to_ptid (-1), 0);
-
- stop_pc = read_pc ();
}
/* Implement the "unset exec-wrapper" command. */
don't need to. */
target_find_description ();
+ /* Now that we know the register layout, retrieve current PC. */
+ stop_pc = read_pc ();
+
/* If the solist is global across processes, there's no need to
refetch it here. */
if (exec_bfd && !gdbarch_has_global_solist (target_gdbarch))