diff options
author | Jeff Law <law@redhat.com> | 1994-03-23 04:14:34 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-03-23 04:14:34 +0000 |
commit | 84ad95c118631eba3101d575ceaefcc9d02d438b (patch) | |
tree | c3ce7caf138b7971abe0e6944c3617f9be81a83d /gdb/config | |
parent | 7dfa376e9b17fe9316eca2dd550481b8d939840f (diff) | |
download | gdb-84ad95c118631eba3101d575ceaefcc9d02d438b.zip gdb-84ad95c118631eba3101d575ceaefcc9d02d438b.tar.gz gdb-84ad95c118631eba3101d575ceaefcc9d02d438b.tar.bz2 |
* stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument
for the structure's type. All callers changed.
* valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR
for each structure argument rather than assuming it's either
true or false for all structure arguments.
* config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only
on the length structure passed, not the compiler used.
* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional
argument for the structure's type.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 5fe91a8..45ae8f9 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -30,7 +30,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 1.92) behaves like sun cc. REG_STRUCT_HAS_ADDR is smart enough to distinguish between Sun cc, gcc version 1 and gcc version 2. */ -#define REG_STRUCT_HAS_ADDR(gcc_p) (gcc_p != 1) +#define REG_STRUCT_HAS_ADDR(gcc_p,type) (gcc_p != 1) /* Sun /bin/cc gets this right as of SunOS 4.1.x. We need to define BELIEVE_PCC_PROMOTION to get this right now that the code which |