aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000
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/config/rs6000
parent037a727e3d7574f797adebad86e3eb8e37899be4 (diff)
downloadgdb-1f480a5e28ef0f10bb3236b5088a14346e7b9b20.zip
gdb-1f480a5e28ef0f10bb3236b5088a14346e7b9b20.tar.gz
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/config/rs6000')
-rw-r--r--gdb/config/rs6000/nm-rs6000.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/config/rs6000/nm-rs6000.h b/gdb/config/rs6000/nm-rs6000.h
index 9690491..2d8542b 100644
--- a/gdb/config/rs6000/nm-rs6000.h
+++ b/gdb/config/rs6000/nm-rs6000.h
@@ -64,8 +64,3 @@ extern char *xcoff_solib_address (CORE_ADDR);
/* A normal waitstatus. Let the usual macros deal with it. */ \
0)
-/* Notice when a new child process is started. */
-
-#define TARGET_CREATE_INFERIOR_HOOK rs6000_create_inferior
-extern void rs6000_create_inferior (int);
-