GDB (xrefs)
Loading...
Searching...
No Matches
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)
 
#define ax_float(EXPR)
 

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)
Value:
(ax_simple ((EXPR), aop_float))
void ax_simple(struct agent_expr *EXPR, enum agent_op OP)
Definition ax-general.c:82

Definition at line 174 of file ax.h.

◆ DEFOP

#define DEFOP ( NAME,
SIZE,
DATA_SIZE,
CONSUMED,
PRODUCED,
VALUE )
Value:
aop_ ## NAME = VALUE,
#define NAME
Definition ada-exp.c:568

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()

◆ ax_ext()

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

◆ ax_goto()

◆ 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()

◆ 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()

◆ ax_reg_mask()

◆ ax_reqs()

◆ ax_simple()

◆ 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