From: Joel Brobecker Date: Fri, 27 Jan 2006 20:05:27 +0000 (+0000) Subject: * infcmd.c (post_create_inferior): Fix copy/paste error introduced X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37706b70d585551a96de8231edc9aefc51af3416;p=binutils-gdb.git * infcmd.c (post_create_inferior): Fix copy/paste error introduced in the previous change. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c2f668612b2..a17342a60bc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-01-27 Joel Brobecker + + * infcmd.c (post_create_inferior): Fix copy/paste error introduced + in the previous change. + 2006-01-24 Daniel Jacobowitz PR gdb/1914 diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 58063476875..12a305de2c3 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