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

Go to the source code of this file.

Classes

struct  agent_expr
 
struct  aop_map
 

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 { aop_last }
 

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)
 

Variables

struct aop_map aop_map []
 

Macro Definition Documentation

◆ ax_float

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

Definition at line 185 of file ax.h.

◆ DEFOP

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

Definition at line 163 of file ax.h.

Typedef Documentation

◆ agent_expr_up

typedef std::unique_ptr<agent_expr> agent_expr_up

Definition at line 157 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
Enumerator
aop_last 

Definition at line 161 of file ax.h.

Function Documentation

◆ ax_const_d()

void ax_const_d ( struct agent_expr EXPR,
LONGEST  d 
)

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

◆ ax_const_l()

void ax_const_l ( struct agent_expr EXPR,
LONGEST  l 
)

◆ ax_ext()

void ax_ext ( struct agent_expr EXPR,
int  N 
)

◆ ax_goto()

int ax_goto ( struct agent_expr EXPR,
enum agent_op  OP 
)

◆ ax_label()

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

◆ ax_pick()

void ax_pick ( struct agent_expr EXPR,
int  DEPTH 
)

Definition at line 135 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 
)

◆ ax_raw_byte()

void ax_raw_byte ( struct agent_expr expr,
gdb_byte  byte 
)

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

References agent_expr::buf, grow_expr(), and agent_expr::len.

Referenced by ax_simple(), and gen_printf().

◆ ax_reg()

void ax_reg ( struct agent_expr EXPR,
int  REG 
)

◆ ax_reg_mask()

void ax_reg_mask ( struct agent_expr ax,
int  reg 
)

◆ ax_reqs()

void ax_reqs ( struct agent_expr ax)

◆ ax_simple()

void ax_simple ( struct agent_expr EXPR,
enum agent_op  OP 
)

◆ ax_string()

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

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

References agent_expr::buf, grow_expr(), and agent_expr::len.

Referenced by gen_printf().

◆ ax_trace_quick()

void ax_trace_quick ( struct agent_expr EXPR,
int  N 
)

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

References agent_expr::buf, grow_expr(), and agent_expr::len.

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 
)

◆ ax_zero_ext()

void ax_zero_ext ( struct agent_expr EXPR,
int  N 
)

Variable Documentation

◆ aop_map

struct aop_map aop_map[]
extern

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