From 37706b70d585551a96de8231edc9aefc51af3416 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 27 Jan 2006 20:05:27 +0000 Subject: [PATCH] * infcmd.c (post_create_inferior): Fix copy/paste error introduced in the previous change. --- gdb/ChangeLog | 5 +++++ gdb/infcmd.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2