* 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.
This commit is contained in:
Jeff Law 1997-04-25 06:14:15 +00:00
parent bbec63ce2b
commit 157d3d5daa
3 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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) \
{ \

View File

@ -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) \