GDB (xrefs)
Classes | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/break-catch-throw.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "annotate.h"
#include "valprint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include "gdb_obstack.h"
#include "mi/mi-common.h"
#include "exceptions.h"
#include "linespec.h"
#include "probe.h"
#include "objfiles.h"
#include "cp-abi.h"
#include "gdb_regex.h"
#include "cp-support.h"

Go to the source code of this file.

Classes

struct  exception_names
struct  exception_catchpoint

Enumerations

enum  exception_event_kind {
  EX_EVENT_THROW, EX_EVENT_RETHROW, EX_EVENT_CATCH, EX_EVENT_THROW,
  EX_EVENT_RETHROW, EX_EVENT_CATCH
}

Functions

static void fetch_probe_arguments (struct value **arg0, struct value **arg1)
static enum exception_event_kind classify_exception_breakpoint (struct breakpoint *b)
static void dtor_exception_catchpoint (struct breakpoint *self)
static void check_status_exception_catchpoint (struct bpstats *bs)
static void re_set_exception_catchpoint (struct breakpoint *self)
static enum print_stop_action print_it_exception_catchpoint (bpstat bs)
static void print_one_exception_catchpoint (struct breakpoint *b, struct bp_location **last_loc)
static void print_one_detail_exception_catchpoint (const struct breakpoint *b, struct ui_out *uiout)
static void print_mention_exception_catchpoint (struct breakpoint *b)
static void print_recreate_exception_catchpoint (struct breakpoint *b, struct ui_file *fp)
static void handle_gnu_v3_exceptions (int tempflag, char *except_rx, char *cond_string, enum exception_event_kind ex_event, int from_tty)
static char * extract_exception_regexp (char **string)
static void catch_exception_command_1 (enum exception_event_kind ex_event, char *arg, int tempflag, int from_tty)
static void catch_catch_command (char *arg, int from_tty, struct cmd_list_element *command)
static void catch_throw_command (char *arg, int from_tty, struct cmd_list_element *command)
static void catch_rethrow_command (char *arg, int from_tty, struct cmd_list_element *command)
static struct valuecompute_exception (struct gdbarch *argc, struct internalvar *var, void *ignore)
static void initialize_throw_catchpoint_ops (void)
void _initialize_break_catch_throw (void)

Variables

static struct exception_names exception_functions []
static struct breakpoint_ops gnu_v3_exception_catchpoint_ops
static struct internalvar_funcs exception_funcs
initialize_file_ftype _initialize_break_catch_throw

Enumeration Type Documentation

Enumerator:
EX_EVENT_THROW 
EX_EVENT_RETHROW 
EX_EVENT_CATCH 
EX_EVENT_THROW 
EX_EVENT_RETHROW 
EX_EVENT_CATCH 

Definition at line 41 of file break-catch-throw.c.


Function Documentation

static void catch_catch_command ( char *  arg,
int  from_tty,
struct cmd_list_element command 
) [static]
static void catch_exception_command_1 ( enum exception_event_kind  ex_event,
char *  arg,
int  tempflag,
int  from_tty 
) [static]
static void catch_rethrow_command ( char *  arg,
int  from_tty,
struct cmd_list_element command 
) [static]
static void catch_throw_command ( char *  arg,
int  from_tty,
struct cmd_list_element command 
) [static]
static void check_status_exception_catchpoint ( struct bpstats bs) [static]
static enum exception_event_kind classify_exception_breakpoint ( struct breakpoint b) [static]
static struct value* compute_exception ( struct gdbarch argc,
struct internalvar var,
void *  ignore 
) [static, read]
static void dtor_exception_catchpoint ( struct breakpoint self) [static]
static char* extract_exception_regexp ( char **  string) [static]
static void fetch_probe_arguments ( struct value **  arg0,
struct value **  arg1 
) [static]
static void handle_gnu_v3_exceptions ( int  tempflag,
char *  except_rx,
char *  cond_string,
enum exception_event_kind  ex_event,
int  from_tty 
) [static]
static void initialize_throw_catchpoint_ops ( void  ) [static]
static void print_mention_exception_catchpoint ( struct breakpoint b) [static]
static void print_one_detail_exception_catchpoint ( const struct breakpoint b,
struct ui_out uiout 
) [static]
static void print_one_exception_catchpoint ( struct breakpoint b,
struct bp_location **  last_loc 
) [static]
static void print_recreate_exception_catchpoint ( struct breakpoint b,
struct ui_file fp 
) [static]
static void re_set_exception_catchpoint ( struct breakpoint self) [static]

Variable Documentation

Definition at line 569 of file break-catch-throw.c.

Referenced by initialize_all_files().

Initial value:
{
  compute_exception,
  NULL,
  NULL
}

Definition at line 540 of file break-catch-throw.c.

Initial value:
{
  { "-probe-stap libstdcxx:throw", "__cxa_throw" },
  { "-probe-stap libstdcxx:rethrow", "__cxa_rethrow" },
  { "-probe-stap libstdcxx:catch", "__cxa_begin_catch" }
}

Definition at line 66 of file break-catch-throw.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines