Remove REG_STRUCT_HAS_ADDR change.
authorJeff Law <law@redhat.com>
Wed, 12 Feb 1997 01:00:46 +0000 (01:00 +0000)
committerJeff Law <law@redhat.com>
Wed, 12 Feb 1997 01:00:46 +0000 (01:00 +0000)
gdb/ChangeLog
gdb/config/mn10200/tm-mn10200.h

index 5fa7f4c4f08b8bc1233b0ca2c00b6ab8f86b059f..24d3f1fa7c564eca86e757653ec947ade233211d 100644 (file)
@@ -8,9 +8,9 @@ Tue Feb 11 15:36:31 1997  Doug Evans  <dje@canuck.cygnus.com>
 end-sanitize-m32r
 Tue Feb 11 12:28:09 1997  Jeffrey A Law  (law@cygnus.com)
 
+
        * config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix.
        * mn10200-tdep.c (mn10200_store_struct_return): New function.
-       (REG_STRUCT_HAS_ADDR): Tweak.
 
        * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
        extracting a return value from a register pair.
index ac3c498d92ecda44b06bc4be2af90fed88aa5fc1..9977fde7c2e5c7f17167960a40f206d5c129dfd4 100644 (file)
@@ -191,7 +191,7 @@ mn10200_push_arguments PARAMS ((int, struct value **, CORE_ADDR,
 #define PC_IN_CALL_DUMMY(PC, SP, FP) generic_pc_in_call_dummy (PC, SP)
 
 #define REG_STRUCT_HAS_ADDR(gcc_p,TYPE) \
-       (TYPE_NFIELDS (TYPE) > 1 || TYPE_LENGTH (TYPE) > 8)
+       (TYPE_LENGTH (TYPE) > 8)
 
 #define USE_STRUCT_CONVENTION(GCC_P, TYPE) \
        (TYPE_NFIELDS (TYPE) > 1 || TYPE_LENGTH (TYPE) > 8)