aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c2f6686..a17342a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5806347..12a305d 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