#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame.h"
#include "trad-frame.h"
#include "symtab.h"
#include "value.h"
#include "gdbcmd.h"
#include "breakpoint.h"
#include "inferior.h"
#include "regcache.h"
#include "target.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "dwarf2-frame.h"
#include "osabi.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "target-descriptions.h"
#include "opcodes/microblaze-opcm.h"
#include "opcodes/microblaze-dis.h"
#include "microblaze-tdep.h"
Go to the source code of this file.
Defines |
#define | IS_RETURN(op) (op == rtsd || op == rtid) |
#define | IS_UPDATE_SP(op, rd, ra) ((op == addik || op == addi) && rd == REG_SP && ra == REG_SP) |
#define | IS_SPILL_SP(op, rd, ra) ((op == swi || op == sw) && rd == REG_SP && ra == REG_SP) |
#define | IS_SPILL_REG(op, rd, ra) ((op == swi || op == sw) && rd != REG_SP && ra == REG_SP) |
#define | IS_ALSO_SPILL_REG(op, rd, ra, rb) ((op == swi || op == sw) && rd != REG_SP && ra == 0 && rb == REG_SP) |
#define | IS_SETUP_FP(op, ra, rb) ((op == add || op == addik || op == addk) && ra == REG_SP && rb == 0) |
#define | IS_SPILL_REG_FP(op, rd, ra, fpregnum) ((op == swi || op == sw) && rd != REG_SP && ra == fpregnum && ra != 0) |
#define | IS_SAVE_HIDDEN_PTR(op, rd, ra, rb) ((op == add || op == addik) && ra == MICROBLAZE_FIRST_ARGREG && rb == 0) |
#define | MICROBLAZE_NUM_REGS ARRAY_SIZE (microblaze_register_names) |
#define | MICROBLAZE_MY_FRAME_IN_SP 0x1 |
#define | MICROBLAZE_MY_FRAME_IN_FP 0x2 |
Functions |
void | _initialize_microblaze_tdep (void) |
Define Documentation
#define IS_ALSO_SPILL_REG |
( |
|
op, |
|
|
|
rd, |
|
|
|
ra, |
|
|
|
rb |
|
) |
| ((op == swi || op == sw) && rd != REG_SP && ra == 0 && rb == REG_SP) |
#define IS_RETURN |
( |
|
op | ) |
(op == rtsd || op == rtid) |
#define IS_SETUP_FP |
( |
|
op, |
|
|
|
ra, |
|
|
|
rb |
|
) |
| ((op == add || op == addik || op == addk) && ra == REG_SP && rb == 0) |
#define IS_SPILL_REG |
( |
|
op, |
|
|
|
rd, |
|
|
|
ra |
|
) |
| ((op == swi || op == sw) && rd != REG_SP && ra == REG_SP) |
#define IS_SPILL_REG_FP |
( |
|
op, |
|
|
|
rd, |
|
|
|
ra, |
|
|
|
fpregnum |
|
) |
| ((op == swi || op == sw) && rd != REG_SP && ra == fpregnum && ra != 0) |
#define IS_SPILL_SP |
( |
|
op, |
|
|
|
rd, |
|
|
|
ra |
|
) |
| ((op == swi || op == sw) && rd == REG_SP && ra == REG_SP) |
#define IS_UPDATE_SP |
( |
|
op, |
|
|
|
rd, |
|
|
|
ra |
|
) |
| ((op == addik || op == addi) && rd == REG_SP && ra == REG_SP) |
Function Documentation