GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
ax.h File Reference
#include "gdbsupport/ax.def"

Go to the source code of this file.

Classes

struct  agent_expr
 

Macros

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

Typedefs

typedef std::unique_ptr< agent_expragent_expr_up
 

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

void ax_raw_byte (struct agent_expr *expr, gdb_byte byte)
 
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)
 

Macro Definition Documentation

◆ ax_float

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

Definition at line 174 of file ax.h.

◆ DEFOP

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

Definition at line 153 of file ax.h.

Typedef Documentation

◆ agent_expr_up

typedef std::unique_ptr<agent_expr> agent_expr_up

Definition at line 147 of file ax.h.

Enumeration Type Documentation

◆ agent_flaws

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 53 of file ax.h.

◆ agent_op

enum agent_op

Definition at line 151 of file ax.h.

Function Documentation

◆ ax_const_d()

void ax_const_d ( struct agent_expr * EXPR,
LONGEST d )
extern

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

◆ ax_const_l()

void ax_const_l ( struct agent_expr * EXPR,
LONGEST l )
extern

◆ ax_ext()

void ax_ext ( struct agent_expr * EXPR,
int N )
extern

◆ ax_goto()

int ax_goto ( struct agent_expr * EXPR,
enum agent_op OP )
extern

◆ ax_label()

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

◆ ax_pick()

void ax_pick ( struct agent_expr * EXPR,
int DEPTH )
extern

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

References append_const(), and ax_simple().

Referenced by dwarf2_compile_expr_to_ax().

◆ ax_print()

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

◆ ax_raw_byte()

void ax_raw_byte ( struct agent_expr * expr,
gdb_byte byte )
extern

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

References agent_expr::buf.

Referenced by ax_simple(), and gen_printf().

◆ ax_reg()

void ax_reg ( struct agent_expr * EXPR,
int REG )
extern

◆ ax_reg_mask()

void ax_reg_mask ( struct agent_expr * ax,
int reg )
extern

◆ ax_reqs()

void ax_reqs ( struct agent_expr * ax)
extern

◆ ax_simple()

void ax_simple ( struct agent_expr * EXPR,
enum agent_op OP )
extern

◆ ax_string()

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

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

References agent_expr::buf.

Referenced by gen_printf().

◆ ax_trace_quick()

void ax_trace_quick ( struct agent_expr * EXPR,
int N )
extern

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

References agent_expr::buf.

Referenced by access_memory(), gen_bitfield_ref(), and gen_fetch().

◆ ax_tsv()

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

◆ ax_zero_ext()

void ax_zero_ext ( struct agent_expr * EXPR,
int N )
extern