aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-04-27 13:23:47 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-04-27 13:23:47 +0000
commit1f480a5e28ef0f10bb3236b5088a14346e7b9b20 (patch)
tree6c580792a2372b7cf66c130605c9a719a2322205 /gdb/fork-child.c
parent037a727e3d7574f797adebad86e3eb8e37899be4 (diff)
downloadfsf-binutils-gdb-1f480a5e28ef0f10bb3236b5088a14346e7b9b20.zip
fsf-binutils-gdb-1f480a5e28ef0f10bb3236b5088a14346e7b9b20.tar.gz
fsf-binutils-gdb-1f480a5e28ef0f10bb3236b5088a14346e7b9b20.tar.bz2
* config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
* fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. * rs6000-nat.c (super_create_inferior): New variable. (rs6000_create_inferior): Make static. Adapt argument list. Call original version of create_inferior via super_create_inferior. (_initialize_core_rs6000): Install to_create_inferior target method.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 9a193cd..37fe927 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -398,11 +398,6 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
/* We are now in the child process of interest, having exec'd the
correct program, and are poised at the first instruction of the
new program. */
-
- /* Allow target dependent code to play with the new process. This
- might be used to have target-specific code initialize a variable
- in the new process prior to executing the first instruction. */
- TARGET_CREATE_INFERIOR_HOOK (pid);
}
/* Accept NTRAPS traps from the inferior. */