GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/probe.c File Reference
#include "defs.h"
#include "probe.h"
#include "command.h"
#include "cli/cli-cmds.h"
#include "cli/cli-utils.h"
#include "objfiles.h"
#include "symtab.h"
#include "progspace.h"
#include "filenames.h"
#include "exceptions.h"
#include "linespec.h"
#include "gdb_regex.h"
#include "frame.h"
#include "arch-utils.h"
#include <ctype.h>

Go to the source code of this file.

Functions

struct symtabs_and_lines parse_probes (char **argptr, struct linespec_result *canonical)
 VEC (probe_p)
struct probefind_probe_by_pc (CORE_ADDR pc)
static int compare_probes (const void *a, const void *b)
static void gen_ui_out_table_header_info (VEC(probe_p)*probes, const struct probe_ops *p)
static void print_ui_out_info (struct probe *probe)
static int get_number_extra_fields (const struct probe_ops *pops)
void info_probes_for_ops (char *arg, int from_tty, const struct probe_ops *pops)
static void info_probes_command (char *arg, int from_tty)
unsigned get_probe_argument_count (struct probe *probe)
int can_evaluate_probe_arguments (struct probe *probe)
struct valueevaluate_probe_argument (struct probe *probe, unsigned n)
struct valueprobe_safe_evaluate_at_pc (struct frame_info *frame, unsigned n)
struct probe_opsprobe_linespec_to_ops (const char **linespecp)
int probe_is_linespec_by_keyword (const char **linespecp, const char *const *keywords)
static int probe_any_is_linespec (const char **linespecp)
static void probe_any_get_probes (VEC(probe_p)**probesp, struct objfile *objfile)
struct cmd_list_element ** info_probes_cmdlist_get (void)
 VEC (probe_ops_cp)

Variables

struct probe_ops probe_ops_any

Function Documentation

int can_evaluate_probe_arguments ( struct probe probe)
static int compare_probes ( const void *  a,
const void *  b 
) [static]

Definition at line 298 of file probe.c.

References probe::address, probe::name, probe::objfile, objfile_name(), and probe::provider.

Referenced by info_probes_for_ops().

struct value* evaluate_probe_argument ( struct probe probe,
unsigned  n 
) [read]
struct probe* find_probe_by_pc ( CORE_ADDR  pc) [read]
static void gen_ui_out_table_header_info ( VEC(probe_p)*  probes,
const struct probe_ops p 
) [static]
static int get_number_extra_fields ( const struct probe_ops pops) [static]
unsigned get_probe_argument_count ( struct probe probe)
struct cmd_list_element** info_probes_cmdlist_get ( void  ) [read]

Definition at line 751 of file probe.c.

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

static void info_probes_command ( char *  arg,
int  from_tty 
) [static]

Definition at line 609 of file probe.c.

References info_probes_for_ops().

Referenced by info_probes_cmdlist_get().

void info_probes_for_ops ( char *  arg,
int  from_tty,
const struct probe_ops pops 
)
struct symtabs_and_lines parse_probes ( char **  argptr,
struct linespec_result canonical 
) [read]
static void print_ui_out_info ( struct probe probe) [static]
static void probe_any_get_probes ( VEC(probe_p)**  probesp,
struct objfile objfile 
) [static]

Definition at line 735 of file probe.c.

static int probe_any_is_linespec ( const char **  linespecp) [static]

Definition at line 725 of file probe.c.

References probe_is_linespec_by_keyword().

int probe_is_linespec_by_keyword ( const char **  linespecp,
const char *const keywords 
)

Definition at line 702 of file probe.c.

References len.

Referenced by probe_any_is_linespec(), and stap_probe_is_linespec().

struct probe_ops* probe_linespec_to_ops ( const char **  linespecp) [read]

Definition at line 687 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 
) [read]
static VEC ( probe_p  )

Definition at line 772 of file probe.c.

References _initialize_probe.


Variable Documentation

Initial value:

Definition at line 742 of file probe.c.

Referenced by parse_probes().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines