mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* fork-child.c (startup_inferior): Move setting stop_pc ...
* infcmd.c (post_create_inferior): ... to here.
This commit is contained in:
parent
267bf99505
commit
f698437e4b
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -530,8 +530,6 @@ startup_inferior (int ntraps)
|
||||
|
||||
/* Mark all threads non-executing. */
|
||||
set_executing (pid_to_ptid (-1), 0);
|
||||
|
||||
stop_pc = read_pc ();
|
||||
}
|
||||
|
||||
/* Implement the "unset exec-wrapper" command. */
|
||||
|
@ -391,6 +391,9 @@ post_create_inferior (struct target_ops *target, int from_tty)
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user