GDBserver
Classes | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/gdbserver/ax.h File Reference
#include "server.h"
#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)
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 35 of file ax.h.


Function Documentation

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

Definition at line 149 of file ax.c.

References target_emit_ops.

Referenced by compile_tracepoint_condition().

void emit_prologue ( void  )

Definition at line 143 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 
)
struct agent_expr* gdb_parse_agent_expr ( char **  actparm) [read]
char* gdb_unparse_agent_expr ( struct agent_expr aexpr)

Definition at line 117 of file ax.c.

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

Referenced by response_tracepoint().


Variable Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines