GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/microblaze-tdep.c File Reference
#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)

Definition at line 57 of file microblaze-tdep.c.

#define IS_RETURN (   op)    (op == rtsd || op == rtid)

Definition at line 50 of file microblaze-tdep.c.

#define IS_SAVE_HIDDEN_PTR (   op,
  rd,
  ra,
  rb 
)    ((op == add || op == addik) && ra == MICROBLAZE_FIRST_ARGREG && rb == 0)

Definition at line 63 of file microblaze-tdep.c.

#define IS_SETUP_FP (   op,
  ra,
  rb 
)    ((op == add || op == addik || op == addk) && ra == REG_SP && rb == 0)

Definition at line 59 of file microblaze-tdep.c.

#define IS_SPILL_REG (   op,
  rd,
  ra 
)    ((op == swi || op == sw) && rd != REG_SP && ra == REG_SP)

Definition at line 55 of file microblaze-tdep.c.

#define IS_SPILL_REG_FP (   op,
  rd,
  ra,
  fpregnum 
)    ((op == swi || op == sw) && rd != REG_SP && ra == fpregnum && ra != 0)

Definition at line 61 of file microblaze-tdep.c.

#define IS_SPILL_SP (   op,
  rd,
  ra 
)    ((op == swi || op == sw) && rd == REG_SP && ra == REG_SP)

Definition at line 53 of file microblaze-tdep.c.

#define IS_UPDATE_SP (   op,
  rd,
  ra 
)    ((op == addik || op == addi) && rd == REG_SP && ra == REG_SP)

Definition at line 51 of file microblaze-tdep.c.

#define MICROBLAZE_MY_FRAME_IN_FP   0x2

Definition at line 202 of file microblaze-tdep.c.

#define MICROBLAZE_MY_FRAME_IN_SP   0x1

Definition at line 195 of file microblaze-tdep.c.

#define MICROBLAZE_NUM_REGS   ARRAY_SIZE (microblaze_register_names)

Definition at line 80 of file microblaze-tdep.c.


Function Documentation

void _initialize_microblaze_tdep ( void  )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines