* gdb/defs.h: unconditionally include <fcntl.h>, and
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 580634768753f4351bae869bc74627b5f76ebb6b..12a305de2c3380bbaac2ef35407a80fe9695c0b9 100644 (file)
@@ -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
This page took 0.022647 seconds and 4 git commands to generate.