OSDN Git Service

* infcmd.c (post_create_inferior): Fix copy/paste error introduced
authorbrobecke <brobecke>
Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)
committerbrobecke <brobecke>
Fri, 27 Jan 2006 20:05:27 +0000 (20:05 +0000)
        in the previous change.

gdb/ChangeLog
gdb/infcmd.c

index c2f6686..a17342a 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 5806347..12a305d 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