GDBserver
Classes | Enumerations | Functions | Variables
ax.h File Reference
#include "regcache.h"

Go to the source code of this file.

Classes

struct  agent_expr
 
struct  eval_agent_expr_context
 
struct  emit_ops
 

Enumerations

enum  eval_result_type {
  expr_eval_no_error, expr_eval_empty_expression, expr_eval_empty_stack, expr_eval_stack_overflow,
  expr_eval_stack_underflow, expr_eval_unhandled_opcode, expr_eval_unrecognized_opcode, expr_eval_divide_by_zero,
  expr_eval_invalid_goto
}
 

Functions

struct agent_exprgdb_parse_agent_expr (char **actparm)
 
void gdb_free_agent_expr (struct agent_expr *aexpr)
 
char * gdb_unparse_agent_expr (struct agent_expr *aexpr)
 
void emit_prologue (void)
 
void emit_epilogue (void)
 
enum eval_result_type compile_bytecodes (struct agent_expr *aexpr)
 
enum eval_result_type gdb_eval_agent_expr (struct eval_agent_expr_context *ctx, struct agent_expr *aexpr, ULONGEST *rslt)
 

Variables

CORE_ADDR current_insn_ptr
 
int emit_error
 

Enumeration Type Documentation

Enumerator
expr_eval_no_error 
expr_eval_empty_expression 
expr_eval_empty_stack 
expr_eval_stack_overflow 
expr_eval_stack_underflow 
expr_eval_unhandled_opcode 
expr_eval_unrecognized_opcode 
expr_eval_divide_by_zero 
expr_eval_invalid_goto 

Definition at line 34 of file ax.h.

Function Documentation

enum eval_result_type compile_bytecodes ( struct agent_expr aexpr)
void emit_epilogue ( void  )

Definition at line 160 of file ax.c.

References target_emit_ops.

Referenced by compile_tracepoint_condition().

void emit_prologue ( void  )

Definition at line 154 of file ax.c.

References target_emit_ops.

Referenced by compile_tracepoint_condition().

enum eval_result_type gdb_eval_agent_expr ( struct eval_agent_expr_context ctx,
struct agent_expr aexpr,
ULONGEST rslt 
)
void gdb_free_agent_expr ( struct agent_expr aexpr)

Definition at line 114 of file ax.c.

References agent_expr::bytes.

Referenced by clear_breakpoint_commands(), and clear_breakpoint_conditions().

struct agent_expr* gdb_parse_agent_expr ( char **  actparm)
char* gdb_unparse_agent_expr ( struct agent_expr aexpr)

Definition at line 128 of file ax.c.

References bin2hex(), agent_expr::bytes, agent_expr::length, and xmalloc().

Referenced by response_tracepoint().

Variable Documentation

CORE_ADDR current_insn_ptr
int emit_error