* infcmd.c (post_create_inferior): Fix copy/paste error introduced

in the previous change.
This commit is contained in:
Joel Brobecker 2006-01-27 20:05:27 +00:00
parent 4b3dc01ddd
commit 37706b70d5
2 changed files with 6 additions and 1 deletions

View 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

View 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