* solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
authorPer Bothner <per@bothner.com>
Thu, 12 Mar 1992 20:18:54 +0000 (20:18 +0000)
committerPer Bothner <per@bothner.com>
Thu, 12 Mar 1992 20:18:54 +0000 (20:18 +0000)
to SOLIB_CREATE_INFERIOR_HOOK macro.

gdb/ChangeLog
gdb/solib.h
gdb/tm-rs6000.h

index ed73158..22fb56f 100644 (file)
@@ -1,3 +1,8 @@
+Thu Mar 12 11:56:46 1992  Per Bothner  (bothner@cygnus.com)
+
+       * solib.h, infrun.c, tm-rs6000.h:  Add a PID parameter
+       to SOLIB_CREATE_INFERIOR_HOOK macro.
+
 Sun Mar  8 21:17:48 1992  Fred Fish  (fnf@cygnus.com)
 
        * symfile.h:  Add prototype for iterate_over_msymbols().
index b0c6afc..aba26d4 100644 (file)
@@ -42,7 +42,7 @@ solib_add PARAMS ((char *, int, struct target_ops *));
    which they are linked, and sufficient information to read in their symbols
    at a later time. */
 
-#define SOLIB_CREATE_INFERIOR_HOOK     solib_create_inferior_hook
+#define SOLIB_CREATE_INFERIOR_HOOK(PID)        solib_create_inferior_hook()
 
 extern void
 solib_create_inferior_hook PARAMS((void));     /* solib.c */
index 5465c6a..30d3a04 100644 (file)
@@ -124,10 +124,10 @@ struct aix_framedata {
 
 extern int aix_loadInfoTextIndex;
 
-#define        SOLIB_CREATE_INFERIOR_HOOK()    \
+#define        SOLIB_CREATE_INFERIOR_HOOK(PID) \
   do {                                 \
     if (aix_loadInfoTextIndex == 0)    \
-       aixcoff_relocate_symtab (pid);  \
+       aixcoff_relocate_symtab (PID);  \
   } while (0)