GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/hppa-tdep.c File Reference
#include "defs.h"
#include "bfd.h"
#include "inferior.h"
#include "regcache.h"
#include "completer.h"
#include "osabi.h"
#include "gdb_assert.h"
#include "arch-utils.h"
#include "symtab.h"
#include "dis-asm.h"
#include "trad-frame.h"
#include "frame-unwind.h"
#include "frame-base.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "gdbtypes.h"
#include "objfiles.h"
#include "hppa-tdep.h"

Go to the source code of this file.

Defines

#define MASK_5   0x1f
#define MASK_11   0x7ff
#define MASK_14   0x3fff
#define MASK_21   0x1fffff
#define UNWIND_ENTRY_SIZE   16
#define STUB_UNWIND_ENTRY_SIZE   8
#define pif(FLD)   if (u->FLD) printf_unfiltered (" "#FLD);
#define pin(FLD)   printf_unfiltered ("\t"#FLD" = 0x%x\n", u->FLD);
#define HPPA_MAX_INSN_PATTERN_LEN   4

Functions

int hppa_get_field (unsigned word, int from, int to)
int hppa_extract_5_load (unsigned word)
unsigned hppa_extract_5r_store (unsigned word)
unsigned hppa_extract_5R_store (unsigned word)
int hppa_extract_14 (unsigned word)
int hppa_extract_21 (unsigned word)
int hppa_extract_17 (unsigned word)
CORE_ADDR hppa_symbol_address (const char *sym)
struct hppa_objfile_privatehppa_init_objfile_priv_data (struct objfile *objfile)
struct unwind_table_entryfind_unwind_entry (CORE_ADDR pc)
CORE_ADDR hppa_read_pc (struct regcache *regcache)
void hppa_write_pc (struct regcache *regcache, CORE_ADDR pc)
CORE_ADDR hppa_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame)
struct minimal_symbolhppa_lookup_stub_minimal_symbol (const char *name, enum unwind_stub_types stub_type)
struct value * hppa_frame_prev_register_helper (struct frame_info *this_frame, struct trad_frame_saved_reg saved_regs[], int regnum)
int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch, CORE_ADDR pc)
CORE_ADDR hppa_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
void _initialize_hppa_tdep (void)

Variables

struct objfile_data * hppa_objfile_priv_data = NULL
initialize_file_ftype _initialize_hppa_tdep

Define Documentation

#define HPPA_MAX_INSN_PATTERN_LEN   4

Definition at line 2791 of file hppa-tdep.c.

#define MASK_11   0x7ff

Definition at line 60 of file hppa-tdep.c.

#define MASK_14   0x3fff

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

#define MASK_21   0x1fffff

Definition at line 62 of file hppa-tdep.c.

#define MASK_5   0x1f

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

#define pif (   FLD)    if (u->FLD) printf_unfiltered (" "#FLD);
#define pin (   FLD)    printf_unfiltered ("\t"#FLD" = 0x%x\n", u->FLD);
#define STUB_UNWIND_ENTRY_SIZE   8

Definition at line 66 of file hppa-tdep.c.

#define UNWIND_ENTRY_SIZE   16

Definition at line 65 of file hppa-tdep.c.


Function Documentation

void _initialize_hppa_tdep ( void  )

Definition at line 3137 of file hppa-tdep.c.

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

int hppa_extract_14 ( unsigned  word)

Definition at line 124 of file hppa-tdep.c.

int hppa_extract_17 ( unsigned  word)

Definition at line 154 of file hppa-tdep.c.

int hppa_extract_21 ( unsigned  word)

Definition at line 132 of file hppa-tdep.c.

int hppa_extract_5_load ( unsigned  word)

Definition at line 100 of file hppa-tdep.c.

unsigned hppa_extract_5r_store ( unsigned  word)

Definition at line 108 of file hppa-tdep.c.

unsigned hppa_extract_5R_store ( unsigned  word)

Definition at line 116 of file hppa-tdep.c.

struct value* hppa_frame_prev_register_helper ( struct frame_info *  this_frame,
struct trad_frame_saved_reg  saved_regs[],
int  regnum 
) [read]

Definition at line 2688 of file hppa-tdep.c.

int hppa_get_field ( unsigned  word,
int  from,
int  to 
)

Definition at line 92 of file hppa-tdep.c.

int hppa_in_solib_call_trampoline ( struct gdbarch *  gdbarch,
CORE_ADDR  pc 
)

Definition at line 2858 of file hppa-tdep.c.

struct hppa_objfile_private* hppa_init_objfile_priv_data ( struct objfile objfile) [read]

Definition at line 175 of file hppa-tdep.c.

struct minimal_symbol* hppa_lookup_stub_minimal_symbol ( const char *  name,
enum unwind_stub_types  stub_type 
) [read]

Definition at line 2467 of file hppa-tdep.c.

CORE_ADDR hppa_read_pc ( struct regcache *  regcache)

Definition at line 1279 of file hppa-tdep.c.

CORE_ADDR hppa_skip_trampoline_code ( struct frame_info *  frame,
CORE_ADDR  pc 
)

Definition at line 2886 of file hppa-tdep.c.

Definition at line 163 of file hppa-tdep.c.

CORE_ADDR hppa_unwind_pc ( struct gdbarch *  gdbarch,
struct frame_info *  next_frame 
)

Definition at line 2444 of file hppa-tdep.c.

void hppa_write_pc ( struct regcache *  regcache,
CORE_ADDR  pc 
)

Definition at line 1299 of file hppa-tdep.c.


Variable Documentation

struct objfile_data* hppa_objfile_priv_data = NULL

Definition at line 56 of file hppa-tdep.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines