* infcmd.c (post_create_inferior): Fix copy/paste error introduced
authorJoel Brobecker <brobecker@gnat.com>
Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)
        in the previous change.

gdb/ChangeLog
gdb/infcmd.c

index c2f668612b2eb125f7cda9e4dc592ee4b7e9b1e0..a17342a60bcca8e89d8c700f3169ea112e78f2af 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * infcmd.c (post_create_inferior): Fix copy/paste error introduced
+       in the previous change.
+
 2006-01-24  Daniel Jacobowitz  <dan@codesourcery.com>
 
        PR gdb/1914
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.052157 seconds and 4 git commands to generate.