summaryrefslogtreecommitdiff
path: root/gdb/nto-procfs.c
diff options
context:
space:
mode:
authorKris Warkentin <kewarken@qnx.com>2005-08-12 17:28:57 +0000
committerKris Warkentin <kewarken@qnx.com>2005-08-12 17:28:57 +0000
commit1329648399cc13a9e46ce3e3c847855c1b66a42b (patch)
tree9b0f032b017a90eb27716dac370fb91c156c6262 /gdb/nto-procfs.c
parentc1acbc011b46b219723234307cc98e623af11587 (diff)
downloadgdb-1329648399cc13a9e46ce3e3c847855c1b66a42b.tar.gz
2005-08-12 Kris Warkentin <kewarken@qnx.com>
* i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip trampoline code hook. * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook instead of SOLIB_CREATE_INFERIOR_HOOK. (procfs_create_inferior): Ditto. * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r--gdb/nto-procfs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c
index c7aac005b14..624ef063a58 100644
--- a/gdb/nto-procfs.c
+++ b/gdb/nto-procfs.c
@@ -545,10 +545,8 @@ procfs_attach (char *args, int from_tty)
static void
procfs_post_attach (pid_t pid)
{
-#ifdef SOLIB_CREATE_INFERIOR_HOOK
if (exec_bfd)
- SOLIB_CREATE_INFERIOR_HOOK (pid);
-#endif
+ solib_create_inferior_hook ();
}
static ptid_t
@@ -1091,11 +1089,9 @@ procfs_create_inferior (char *exec_file, char *allargs, char **env,
push_target (&procfs_ops);
target_terminal_init ();
-#ifdef SOLIB_CREATE_INFERIOR_HOOK
if (exec_bfd != NULL
|| (symfile_objfile != NULL && symfile_objfile->obfd != NULL))
- SOLIB_CREATE_INFERIOR_HOOK (pid);
-#endif
+ solib_create_inferior_hook ();
stop_soon = 0;
proceed (-1, TARGET_SIGNAL_DEFAULT, 0);
}