aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2006-01-27 20:05:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2006-01-27 20:05:27 +0000
commit37706b70d585551a96de8231edc9aefc51af3416 (patch)
treeff8a6d85b01d6d5cd713b5e0209c1a98764f0ff1 /gdb/infcmd.c
parent4b3dc01ddd7cb731e1c03dbc9f1f389c132bebc3 (diff)
downloadgdb-37706b70d585551a96de8231edc9aefc51af3416.zip
gdb-37706b70d585551a96de8231edc9aefc51af3416.tar.gz
gdb-37706b70d585551a96de8231edc9aefc51af3416.tar.bz2
* infcmd.c (post_create_inferior): Fix copy/paste error introduced
in the previous change.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5806347..12a305d 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -419,7 +419,7 @@ post_create_inferior (struct target_ops *target, int from_tty)
/* Create the hooks to handle shared library load and unload
events. */
#ifdef SOLIB_CREATE_INFERIOR_HOOK
- SOLIB_CREATE_INFERIOR_HOOK (pid);
+ SOLIB_CREATE_INFERIOR_HOOK (PIDGET (inferior_ptid));
#else
solib_create_inferior_hook ();
#endif