Line 89... |
Line 89... |
/* Should be OPS_MAGIC. */
|
/* Should be OPS_MAGIC. */
|
int to_magic;
|
int to_magic;
|
};
|
};
|
|
|
|
|
#define DEFAULT_PROMPT "(or1k) "
|
#define DEFAULT_PROMPT "(gdb) "
|
|
|
/* Context stuff. */
|
/* Context stuff. */
|
#define CURRENT_CID (0)
|
#define CURRENT_CID (0)
|
#define MAX_CID (15)
|
#define MAX_CID (15)
|
|
|
Line 437... |
Line 437... |
function calls. PUSH_ARGUMENTS will handle it. */
|
function calls. PUSH_ARGUMENTS will handle it. */
|
extern CORE_ADDR or1k_push_arguments PARAMS ((int, struct value **, CORE_ADDR, int, CORE_ADDR));
|
extern CORE_ADDR or1k_push_arguments PARAMS ((int, struct value **, CORE_ADDR, int, CORE_ADDR));
|
#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
|
#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
|
(or1k_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr)))
|
(or1k_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr)))
|
|
|
|
/* Return nonzero if instruction has delay slot */
|
|
extern int is_delayed PARAMS ((unsigned long));
|
|
|
/* Return non-zero if PC points to an instruction which will cause a step
|
/* Return non-zero if PC points to an instruction which will cause a step
|
to execute both the instruction at PC and an instruction at PC+4. */
|
to execute both the instruction at PC and an instruction at PC+4. */
|
extern int or1k_step_skips_delay PARAMS ((CORE_ADDR));
|
extern int or1k_step_skips_delay PARAMS ((CORE_ADDR));
|
#define STEP_SKIPS_DELAY_P (1)
|
#define STEP_SKIPS_DELAY_P (1)
|
#define STEP_SKIPS_DELAY(pc) (or1k_step_skips_delay (pc))
|
#define STEP_SKIPS_DELAY(pc) (or1k_step_skips_delay (pc))
|