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 5fa7f4c..24d3f1f 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 ac3c498..9977fde 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)