diff options
author | Joel Brobecker <brobecker@gnat.com> | 2006-01-27 20:05:27 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2006-01-27 20:05:27 +0000 |
commit | 37706b70d585551a96de8231edc9aefc51af3416 (patch) | |
tree | ff8a6d85b01d6d5cd713b5e0209c1a98764f0ff1 /gdb/infcmd.c | |
parent | 4b3dc01ddd7cb731e1c03dbc9f1f389c132bebc3 (diff) | |
download | gdb-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.c | 2 |
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 |