diff options
author | Per Bothner <per@bothner.com> | 1992-03-12 20:18:54 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-03-12 20:18:54 +0000 |
commit | 6730b1398753e93900ac57c7c4ac102b7eec9f72 (patch) | |
tree | ad26fa1f7017f14be1fcb95793c0ed9bf4e2c3ce /gdb | |
parent | 2a274d5d196e87de2cdc19cbdb8a6e725f127556 (diff) | |
download | gdb-6730b1398753e93900ac57c7c4ac102b7eec9f72.zip gdb-6730b1398753e93900ac57c7c4ac102b7eec9f72.tar.gz gdb-6730b1398753e93900ac57c7c4ac102b7eec9f72.tar.bz2 |
* solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
to SOLIB_CREATE_INFERIOR_HOOK macro.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/solib.h | 2 | ||||
-rw-r--r-- | gdb/tm-rs6000.h | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed73158..22fb56f 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 b0c6afc..aba26d4 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 5465c6a..30d3a04 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) |