From: Jeff Law Date: Fri, 25 Apr 1997 06:14:15 +0000 (+0000) Subject: * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=157d3d5daab0768832a870ea14c512484f90f46b;p=binutils-gdb.git * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The structure value address is found in $a0 now. * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. Fixes some struct.exp failures. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c895c7c9f0a..dc33c45f9b0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 25 00:10:18 1997 Jeffrey A Law (law@cygnus.com) + + * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): The + structure value address is found in $a0 now. + * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. + Thu Apr 24 13:31:10 1997 Jeffrey A Law (law@cygnus.com) * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers are diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index dfe95cb6bca..02c9d0c4e07 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -140,8 +140,8 @@ extern CORE_ADDR mn10200_frame_saved_pc PARAMS ((struct frame_info *)); } #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ - extract_address (REGBUF + REGISTER_BYTE (0), \ - REGISTER_RAW_SIZE (0)) + extract_address (REGBUF + REGISTER_BYTE (4), \ + REGISTER_RAW_SIZE (4)) #define STORE_RETURN_VALUE(TYPE, VALBUF) \ { \ diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index d7b06b66dda..72dcd52cb9b 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -104,8 +104,8 @@ extern CORE_ADDR mn10300_frame_saved_pc PARAMS ((struct frame_info *)); #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ - extract_address (REGBUF + REGISTER_BYTE (0), \ - REGISTER_RAW_SIZE (0)) + extract_address (REGBUF + REGISTER_BYTE (4), \ + REGISTER_RAW_SIZE (4)) #define STORE_RETURN_VALUE(TYPE, VALBUF) \ if (TYPE_CODE (TYPE) == TYPE_CODE_PTR) \