GDB (API)
Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/ia64-tdep.c File Reference
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "arch-utils.h"
#include "floatformat.h"
#include "gdbtypes.h"
#include "regcache.h"
#include "reggroups.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "doublest.h"
#include "value.h"
#include "gdb_assert.h"
#include "objfiles.h"
#include "elf/common.h"
#include "elf-bfd.h"
#include "dis-asm.h"
#include "infcall.h"
#include "osabi.h"
#include "ia64-tdep.h"
#include "cp-abi.h"

Go to the source code of this file.

Defines

#define SLOT_MULTIPLIER   1
#define BUNDLE_LEN   16
#define NUM_IA64_RAW_REGS   462
#define IA64_BREAKPOINT   0x00003333300LL
#define IS_NaT_COLLECTION_ADDR(addr)   ((((addr) >> 3) & 0x3f) == 0x3f)
#define isScratch(_regnum_)
#define imm9(_instr_)

Typedefs

typedef enum instruction_type instruction_type

Enumerations

enum  instruction_type {
  A, I, M, F,
  B, L, X, undefined
}
enum  pseudo_regs {
  FIRST_PSEUDO_REGNUM = NUM_IA64_RAW_REGS, VBOF_REGNUM = IA64_NAT127_REGNUM + 1, V32_REGNUM, V127_REGNUM = V32_REGNUM + 95,
  VP0_REGNUM, VP16_REGNUM = VP0_REGNUM + 16, VP63_REGNUM = VP0_REGNUM + 63, LAST_PSEUDO_REGNUM
}

Functions

struct typeia64_register_type (struct gdbarch *arch, int reg)
void ia64_write_pc (struct regcache *regcache, CORE_ADDR new_pc)
CORE_ADDR ia64_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
void _initialize_ia64_tdep (void)

Variables

initialize_file_ftype _initialize_ia64_tdep

Define Documentation

#define BUNDLE_LEN   16

Definition at line 109 of file ia64-tdep.c.

#define IA64_BREAKPOINT   0x00003333300LL

Definition at line 635 of file ia64-tdep.c.

#define imm9 (   _instr_)
Value:
( ((((_instr_) & 0x01000000000LL) ? -1 : 0) << 8) \
   | (((_instr_) & 0x00008000000LL) >> 20) \
   | (((_instr_) & 0x00000001fc0LL) >> 6))

Definition at line 1326 of file ia64-tdep.c.

#define IS_NaT_COLLECTION_ADDR (   addr)    ((((addr) >> 3) & 0x3f) == 0x3f)

Definition at line 912 of file ia64-tdep.c.

#define isScratch (   _regnum_)
Value:
((_regnum_) == 2 || (_regnum_) == 3 \
  || (8 <= (_regnum_) && (_regnum_) <= 11) \
  || (14 <= (_regnum_) && (_regnum_) <= 31))

Definition at line 1323 of file ia64-tdep.c.

#define NUM_IA64_RAW_REGS   462

Definition at line 127 of file ia64-tdep.c.

#define SLOT_MULTIPLIER   1

Definition at line 105 of file ia64-tdep.c.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
A 
I 
M 
F 
B 
L 
X 
undefined 

Definition at line 78 of file ia64-tdep.c.

Enumerator:
FIRST_PSEUDO_REGNUM 
VBOF_REGNUM 
V32_REGNUM 
V127_REGNUM 
VP0_REGNUM 
VP16_REGNUM 
VP63_REGNUM 
LAST_PSEUDO_REGNUM 

Definition at line 137 of file ia64-tdep.c.


Function Documentation

void _initialize_ia64_tdep ( void  )

Definition at line 4058 of file ia64-tdep.c.

struct type* ia64_register_type ( struct gdbarch *  arch,
int  reg 
) [read]

Definition at line 352 of file ia64-tdep.c.

CORE_ADDR ia64_skip_prologue ( struct gdbarch *  gdbarch,
CORE_ADDR  pc 
)

Definition at line 1831 of file ia64-tdep.c.

void ia64_write_pc ( struct regcache *  regcache,
CORE_ADDR  new_pc 
)

Definition at line 897 of file ia64-tdep.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines