GDB (xrefs)
Classes | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/probe.h File Reference
#include "gdb_vecs.h"

Go to the source code of this file.

Classes

struct  info_probe_column
 
struct  probe_ops
 
struct  probe
 
struct  bound_probe
 

Typedefs

typedef struct probeprobe_p
 
typedef struct info_probe_column info_probe_column_s
 
typedef const struct probe_opsprobe_ops_cp
 

Functions

 DEF_VEC_P (probe_p)
 
 DEF_VEC_O (info_probe_column_s)
 
 DEF_VEC_P (probe_ops_cp)
 
 VEC (probe_ops_cp)*all_probe_ops
 
int probe_is_linespec_by_keyword (const char **linespecp, const char *const *keywords)
 
const struct probe_opsprobe_linespec_to_ops (const char **linespecp)
 
struct symtabs_and_lines parse_probes (char **argptr, struct linespec_result *canon)
 
void register_probe_ops (struct probe *probe)
 
struct bound_probe find_probe_by_pc (CORE_ADDR pc)
 
 VEC (probe_p)*find_probes_in_objfile(struct objfile *objfile
 
void info_probes_for_ops (const char *arg, int from_tty, const struct probe_ops *pops)
 
struct cmd_list_element ** info_probes_cmdlist_get (void)
 
CORE_ADDR get_probe_address (struct probe *probe, struct objfile *objfile)
 
unsigned get_probe_argument_count (struct probe *probe, struct frame_info *frame)
 
int can_evaluate_probe_arguments (struct probe *probe)
 
struct valueevaluate_probe_argument (struct probe *probe, unsigned n, struct frame_info *frame)
 
struct valueprobe_safe_evaluate_at_pc (struct frame_info *frame, unsigned n)
 

Variables

const struct probe_ops probe_ops_any
 
const char * provider
 
const char const char * name
 

Typedef Documentation

Definition at line 47 of file probe.h.

typedef const struct probe_ops* probe_ops_cp

Definition at line 157 of file probe.h.

typedef struct probe* probe_p

Definition at line 27 of file probe.h.

Function Documentation

int can_evaluate_probe_arguments ( struct probe probe)
DEF_VEC_O ( info_probe_column_s  )
DEF_VEC_P ( probe_p  )
DEF_VEC_P ( probe_ops_cp  )
struct value* evaluate_probe_argument ( struct probe probe,
unsigned  n,
struct frame_info frame 
)
struct bound_probe find_probe_by_pc ( CORE_ADDR  pc)
CORE_ADDR get_probe_address ( struct probe probe,
struct objfile objfile 
)
unsigned get_probe_argument_count ( struct probe probe,
struct frame_info frame 
)
struct cmd_list_element** info_probes_cmdlist_get ( void  )

Definition at line 909 of file probe.c.

References _, add_prefix_cmd(), class_info, info_probes_command(), and infolist.

Referenced by _initialize_dtrace_probe(), and _initialize_stap_probe().

void info_probes_for_ops ( const char *  arg,
int  from_tty,
const struct probe_ops pops 
)
struct symtabs_and_lines parse_probes ( char **  argptr,
struct linespec_result canon 
)
int probe_is_linespec_by_keyword ( const char **  linespecp,
const char *const keywords 
)

Definition at line 860 of file probe.c.

References len.

Referenced by dtrace_probe_is_linespec(), probe_any_is_linespec(), and stap_probe_is_linespec().

const struct probe_ops* probe_linespec_to_ops ( const char **  linespecp)

Definition at line 845 of file probe.c.

References probe_ops::is_linespec, and VEC_iterate.

Referenced by break_command_1(), parse_probes(), and trace_command().

struct value* probe_safe_evaluate_at_pc ( struct frame_info frame,
unsigned  n 
)
void register_probe_ops ( struct probe probe)
VEC ( probe_ops_cp  )

Definition at line 1011 of file probe.c.

VEC ( probe_p  )

Variable Documentation

const char const char* name

Definition at line 243 of file probe.h.

const struct probe_ops probe_ops_any

Definition at line 900 of file probe.c.

Referenced by parse_probes().

const char* provider