From: Jeff Law Date: Wed, 12 Feb 1997 01:00:46 +0000 (+0000) Subject: Remove REG_STRUCT_HAS_ADDR change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bd49d39b3d8c083308cadbf55bdb5247546bb15;p=binutils-gdb.git Remove REG_STRUCT_HAS_ADDR change. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5fa7f4c4f08..24d3f1fa7c5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -8,9 +8,9 @@ Tue Feb 11 15:36:31 1997 Doug Evans 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. diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index ac3c498d92e..9977fde7c2e 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -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)