GDB (xrefs)
|
#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 "gdbsupport/gdb_obstack.h"
#include "mi/mi-common.h"
#include "linespec.h"
#include "probe.h"
#include "objfiles.h"
#include "cp-abi.h"
#include "gdbsupport/gdb_regex.h"
#include "cp-support.h"
#include "location.h"
#include "cli/cli-decode.h"
Go to the source code of this file.
Classes | |
struct | exception_names |
struct | exception_catchpoint |
Functions | |
bool | is_exception_catchpoint (breakpoint *bp) |
static void | fetch_probe_arguments (struct value **arg0, struct value **arg1) |
static void | handle_gnu_v3_exceptions (int tempflag, std::string &&except_rx, const char *cond_string, enum exception_event_kind ex_event, int from_tty) |
static std::string | extract_exception_regexp (const char **string) |
void | catch_exception_event (enum exception_event_kind ex_event, const char *arg, bool tempflag, int from_tty) |
static void | catch_catch_command (const char *arg, int from_tty, struct cmd_list_element *command) |
static void | catch_throw_command (const char *arg, int from_tty, struct cmd_list_element *command) |
static void | catch_rethrow_command (const char *arg, int from_tty, struct cmd_list_element *command) |
static struct value * | compute_exception (struct gdbarch *argc, struct internalvar *var, void *ignore) |
void | _initialize_break_catch_throw () |
Variables | |
static const struct exception_names | exception_functions [] |
static const struct internalvar_funcs | exception_funcs |
void _initialize_break_catch_throw | ( | ) |
Definition at line 505 of file break-catch-throw.c.
Referenced by initialize_all_files().
|
static |
Definition at line 443 of file break-catch-throw.c.
References catch_exception_event(), CATCH_TEMPORARY, cmd_list_element::context(), and EX_EVENT_CATCH.
void catch_exception_event | ( | enum exception_event_kind | ex_event, |
const char * | arg, | ||
bool | tempflag, | ||
int | from_tty ) |
Definition at line 415 of file break-catch-throw.c.
References ep_parse_optional_if_clause(), EX_EVENT_CATCH, EX_EVENT_RETHROW, EX_EVENT_THROW, extract_exception_regexp(), and handle_gnu_v3_exceptions().
Referenced by catch_catch_command(), catch_rethrow_command(), catch_throw_command(), and mi_cmd_catch_exception_event().
|
static |
Definition at line 465 of file break-catch-throw.c.
References catch_exception_event(), CATCH_TEMPORARY, cmd_list_element::context(), and EX_EVENT_RETHROW.
|
static |
Definition at line 454 of file break-catch-throw.c.
References catch_exception_event(), CATCH_TEMPORARY, cmd_list_element::context(), and EX_EVENT_THROW.
|
static |
Definition at line 479 of file break-catch-throw.c.
References cplus_type_from_type_info(), fetch_probe_arguments(), make_pointer_type(), value_cast(), and value_ind().
|
static |
Definition at line 384 of file break-catch-throw.c.
References check_for_argument().
Referenced by catch_exception_event().
Definition at line 127 of file break-catch-throw.c.
References probe::evaluate_argument(), find_probe_by_pc(), probe::get_argument_count(), get_frame_arch(), get_frame_pc(), probe::get_name(), probe::get_provider(), get_selected_frame(), and bound_probe::prob.
Referenced by exception_catchpoint::check_status(), and compute_exception().
|
static |
Definition at line 360 of file break-catch-throw.c.
References get_current_arch(), and install_breakpoint().
Referenced by catch_exception_event().
bool is_exception_catchpoint | ( | breakpoint * | bp | ) |
Definition at line 115 of file break-catch-throw.c.
References bp.
Referenced by print_one_breakpoint(), and print_one_breakpoint_location().
|
static |
Definition at line 495 of file break-catch-throw.c.
|
static |
Definition at line 59 of file break-catch-throw.c.
Referenced by exception_catchpoint::re_set().