aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-05-05 13:09:00 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-05-05 13:09:00 +0000
commitf698437e4b9dd8235f06d0cd46382ec506c3e0be (patch)
treed6eaeec4970bbcaed8fdf07ede205102248e9f66 /gdb/fork-child.c
parent267bf99505c8522ff9e10ec56c195deb533da338 (diff)
downloadgdb-f698437e4b9dd8235f06d0cd46382ec506c3e0be.zip
gdb-f698437e4b9dd8235f06d0cd46382ec506c3e0be.tar.gz
gdb-f698437e4b9dd8235f06d0cd46382ec506c3e0be.tar.bz2
* fork-child.c (startup_inferior): Move setting stop_pc ...
* infcmd.c (post_create_inferior): ... to here.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index a1726bd..a6bf2a9 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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. */