From: Per Bothner Date: Thu, 12 Mar 1992 20:18:54 +0000 (+0000) Subject: * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6730b1398753e93900ac57c7c4ac102b7eec9f72;p=binutils-gdb.git * solib.h, infrun.c, tm-rs6000.h: Add a PID parameter to SOLIB_CREATE_INFERIOR_HOOK macro. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed731587cb0..22fb56fc331 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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(). diff --git a/gdb/solib.h b/gdb/solib.h index b0c6afca3f4..aba26d45589 100644 --- a/gdb/solib.h +++ b/gdb/solib.h @@ -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 */ diff --git a/gdb/tm-rs6000.h b/gdb/tm-rs6000.h index 5465c6aaaa1..30d3a04dceb 100644 --- a/gdb/tm-rs6000.h +++ b/gdb/tm-rs6000.h @@ -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)