Line 354... |
Line 354... |
on it. */
|
on it. */
|
#define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
|
#define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
|
(extract_address (REGBUF + REGISTER_BYTE (RV_REGNUM), \
|
(extract_address (REGBUF + REGISTER_BYTE (RV_REGNUM), \
|
REGISTER_RAW_SIZE (RV_REGNUM)))
|
REGISTER_RAW_SIZE (RV_REGNUM)))
|
|
|
|
#ifdef GDBTK
|
|
#define EXTRACT_STRUCT_VALUE_ADDRESS_P() 1
|
|
#else
|
#define EXTRACT_STRUCT_VALUE_ADDRESS_P 1
|
#define EXTRACT_STRUCT_VALUE_ADDRESS_P 1
|
|
#endif
|
|
|
/* Advance PC across any function entry prologue instructions
|
/* Advance PC across any function entry prologue instructions
|
to reach some "real" code. */
|
to reach some "real" code. */
|
extern CORE_ADDR or1k_skip_prologue PARAMS ((CORE_ADDR addr));
|
extern CORE_ADDR or1k_skip_prologue PARAMS ((CORE_ADDR addr));
|
#define SKIP_PROLOGUE(pc) (or1k_skip_prologue (pc))
|
#define SKIP_PROLOGUE(pc) (or1k_skip_prologue (pc))
|
Line 412... |
Line 416... |
/* Offset from address of function to start of its code.
|
/* Offset from address of function to start of its code.
|
Zero on most machines. */
|
Zero on most machines. */
|
#define FUNCTION_START_OFFSET (0)
|
#define FUNCTION_START_OFFSET (0)
|
|
|
/* Floating point is IEEE compliant */
|
/* Floating point is IEEE compliant */
|
#define IEEE_FLOAT
|
#define IEEE_FLOAT 1
|
|
|
/* Is floating/vector unit present. */
|
/* Is floating/vector unit present. */
|
#define OR1K_VF_PRESENT (or1k_implementation.vf_present)
|
#define OR1K_VF_PRESENT (or1k_implementation.vf_present)
|
|
|
/* #define INIT_FRAME_PC */ /* Not necessary */
|
/* #define INIT_FRAME_PC */ /* Not necessary */
|