GDB (API)
Classes | Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/ax.h File Reference
#include "doublest.h"
#include "vec.h"
#include "ax.def"

Go to the source code of this file.

Classes

union  agent_val
struct  agent_expr
struct  aop_map

Defines

#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)   aop_ ## NAME = VALUE,
#define ax_float(EXPR)   (ax_simple ((EXPR), aop_float))

Typedefs

typedef struct agent_expragent_expr_p

Enumerations

enum  agent_flaws {
  agent_flaw_none = 0, agent_flaw_bad_instruction, agent_flaw_incomplete_instruction, agent_flaw_bad_jump,
  agent_flaw_height_mismatch, agent_flaw_hole
}
enum  agent_op

Functions

 DEF_VEC_P (agent_expr_p)
struct agent_exprnew_agent_expr (struct gdbarch *, CORE_ADDR)
void free_agent_expr (struct agent_expr *)
struct cleanup * make_cleanup_free_agent_expr (struct agent_expr *)
void ax_simple (struct agent_expr *EXPR, enum agent_op OP)
void ax_pick (struct agent_expr *EXPR, int DEPTH)
void ax_ext (struct agent_expr *EXPR, int N)
void ax_zero_ext (struct agent_expr *EXPR, int N)
void ax_trace_quick (struct agent_expr *EXPR, int N)
int ax_goto (struct agent_expr *EXPR, enum agent_op OP)
void ax_label (struct agent_expr *EXPR, int patch, int target)
void ax_const_l (struct agent_expr *EXPR, LONGEST l)
void ax_const_d (struct agent_expr *EXPR, LONGEST d)
void ax_reg (struct agent_expr *EXPR, int REG)
void ax_reg_mask (struct agent_expr *ax, int reg)
void ax_tsv (struct agent_expr *expr, enum agent_op op, int num)
void ax_string (struct agent_expr *x, const char *str, int slen)
void ax_print (struct ui_file *f, struct agent_expr *EXPR)
void ax_reqs (struct agent_expr *ax)

Variables

struct aop_map aop_map []

Define Documentation

#define ax_float (   EXPR)    (ax_simple ((EXPR), aop_float))

Definition at line 201 of file ax.h.

#define DEFOP (   NAME,
  SIZE,
  DATA_SIZE,
  CONSUMED,
  PRODUCED,
  VALUE 
)    aop_ ## NAME = VALUE,

Definition at line 175 of file ax.h.


Typedef Documentation

typedef struct agent_expr* agent_expr_p

Definition at line 166 of file ax.h.


Enumeration Type Documentation

Enumerator:
agent_flaw_none 
agent_flaw_bad_instruction 
agent_flaw_incomplete_instruction 
agent_flaw_bad_jump 
agent_flaw_height_mismatch 
agent_flaw_hole 

Definition at line 56 of file ax.h.

enum agent_op

Definition at line 173 of file ax.h.


Function Documentation

void ax_const_d ( struct agent_expr EXPR,
LONGEST  d 
)

Definition at line 281 of file ax-general.c.

void ax_const_l ( struct agent_expr EXPR,
LONGEST  l 
)

Definition at line 247 of file ax-general.c.

void ax_ext ( struct agent_expr EXPR,
int  N 
)

Definition at line 182 of file ax-general.c.

int ax_goto ( struct agent_expr EXPR,
enum agent_op  OP 
)

Definition at line 218 of file ax-general.c.

void ax_label ( struct agent_expr EXPR,
int  patch,
int  target 
)

Definition at line 233 of file ax-general.c.

void ax_pick ( struct agent_expr EXPR,
int  DEPTH 
)

Definition at line 152 of file ax-general.c.

void ax_print ( struct ui_file *  f,
struct agent_expr EXPR 
)

Definition at line 378 of file ax-general.c.

void ax_reg ( struct agent_expr EXPR,
int  REG 
)

Definition at line 292 of file ax-general.c.

void ax_reg_mask ( struct agent_expr ax,
int  reg 
)

Definition at line 440 of file ax-general.c.

void ax_reqs ( struct agent_expr ax)

Definition at line 479 of file ax-general.c.

void ax_simple ( struct agent_expr EXPR,
enum agent_op  OP 
)

Definition at line 142 of file ax-general.c.

void ax_string ( struct agent_expr x,
const char *  str,
int  slen 
)

Definition at line 343 of file ax-general.c.

void ax_trace_quick ( struct agent_expr EXPR,
int  N 
)

Definition at line 198 of file ax-general.c.

void ax_tsv ( struct agent_expr expr,
enum agent_op  op,
int  num 
)

Definition at line 322 of file ax-general.c.

void ax_zero_ext ( struct agent_expr EXPR,
int  N 
)

Definition at line 190 of file ax-general.c.

void free_agent_expr ( struct agent_expr )

Definition at line 69 of file ax-general.c.

struct cleanup* make_cleanup_free_agent_expr ( struct agent_expr ) [read]

Definition at line 83 of file ax-general.c.

struct agent_expr* new_agent_expr ( struct gdbarch *  ,
CORE_ADDR   
) [read]

Definition at line 44 of file ax-general.c.


Variable Documentation

struct aop_map aop_map[]

Definition at line 366 of file ax-general.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines