GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/m88k-tdep.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "regset.h"
#include "symtab.h"
#include "trad-frame.h"
#include "value.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "m88k-tdep.h"

Go to the source code of this file.

Defines

#define BITMASK(pos, width)   (((0x1 << (width)) - 1) << (pos))
#define EXTRACT_FIELD(val, pos, width)   ((val) >> (pos) & BITMASK (0, width))
#define SUBU_OFFSET(x)   ((unsigned)(x & 0xFFFF))
#define ST_OFFSET(x)   ((unsigned)((x) & 0xFFFF))
#define ST_SRC(x)   EXTRACT_FIELD ((x), 21, 5)
#define ADDU_OFFSET(x)   ((unsigned)(x & 0xFFFF))

Enumerations

enum  m88k_prologue_insn_action {
  M88K_PIA_SKIP, M88K_PIA_NOTE_ST, M88K_PIA_NOTE_STD, M88K_PIA_NOTE_SP_ADJUSTMENT,
  M88K_PIA_NOTE_FP_ASSIGNMENT, M88K_PIA_NOTE_BRANCH, M88K_PIA_NOTE_PROLOGUE_END
}

Functions

void _initialize_m88k_tdep (void)

Variables

struct m88k_prologue_insn m88k_prologue_insn_table []
const int m88k_max_prologue_size = 128 * M88K_INSN_SIZE

Define Documentation

#define ADDU_OFFSET (   x)    ((unsigned)(x & 0xFFFF))

Definition at line 458 of file m88k-tdep.c.

#define BITMASK (   pos,
  width 
)    (((0x1 << (width)) - 1) << (pos))

Definition at line 453 of file m88k-tdep.c.

#define EXTRACT_FIELD (   val,
  pos,
  width 
)    ((val) >> (pos) & BITMASK (0, width))

Definition at line 454 of file m88k-tdep.c.

#define ST_OFFSET (   x)    ((unsigned)((x) & 0xFFFF))

Definition at line 456 of file m88k-tdep.c.

#define ST_SRC (   x)    EXTRACT_FIELD ((x), 21, 5)

Definition at line 457 of file m88k-tdep.c.

#define SUBU_OFFSET (   x)    ((unsigned)(x & 0xFFFF))

Definition at line 455 of file m88k-tdep.c.


Enumeration Type Documentation

Enumerator:
M88K_PIA_SKIP 
M88K_PIA_NOTE_ST 
M88K_PIA_NOTE_STD 
M88K_PIA_NOTE_SP_ADJUSTMENT 
M88K_PIA_NOTE_FP_ASSIGNMENT 
M88K_PIA_NOTE_BRANCH 
M88K_PIA_NOTE_PROLOGUE_END 

Definition at line 463 of file m88k-tdep.c.


Function Documentation

void _initialize_m88k_tdep ( void  )

Variable Documentation

Definition at line 627 of file m88k-tdep.c.

struct m88k_prologue_insn m88k_prologue_insn_table[]

Definition at line 483 of file m88k-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines