GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "infrun.h"
#include "annotate.h"
#include "valprint.h"
#include "cli/cli-utils.h"
#include "completer.h"
#include "gdb_obstack.h"
Go to the source code of this file.
Classes | |
struct | signal_catchpoint |
Macros | |
#define | INTERNAL_SIGNAL(x) ((x) == GDB_SIGNAL_TRAP || (x) == GDB_SIGNAL_INT) |
Typedefs | |
typedef enum gdb_signal | gdb_signal_type |
Variables | |
static struct breakpoint_ops | signal_catchpoint_ops |
static unsigned int * | signal_catch_counts |
initialize_file_ftype | _initialize_break_catch_sig |
#define INTERNAL_SIGNAL | ( | x | ) | ((x) == GDB_SIGNAL_TRAP || (x) == GDB_SIGNAL_INT) |
Definition at line 33 of file break-catch-sig.c.
Referenced by signal_catchpoint_breakpoint_hit(), signal_catchpoint_insert_location(), and signal_catchpoint_remove_location().
typedef enum gdb_signal gdb_signal_type |
Definition at line 35 of file break-catch-sig.c.
void _initialize_break_catch_sig | ( | void | ) |
Definition at line 491 of file break-catch-sig.c.
References _, add_catch_command(), CATCH_PERMANENT, catch_signal_command(), CATCH_TEMPORARY, initialize_signal_catchpoint_ops(), and signal_catch_counts.
|
static |
Definition at line 444 of file break-catch-sig.c.
References CATCH_TEMPORARY, create_signal_catchpoint(), get_cmd_context(), skip_spaces(), and VEC().
Referenced by _initialize_break_catch_sig().
|
static |
Definition at line 369 of file break-catch-sig.c.
References signal_catchpoint::base, get_current_arch(), init_catchpoint(), install_breakpoint(), and signal_catchpoint_ops.
Referenced by catch_signal_command().
DEF_VEC_I | ( | gdb_signal_type | ) |
|
static |
Definition at line 469 of file break-catch-sig.c.
References base_breakpoint_ops, breakpoint_ops::breakpoint_hit, breakpoint_ops::dtor, breakpoint_ops::explains_signal, initialize_breakpoint_ops(), breakpoint_ops::insert_location, breakpoint_ops::print_it, breakpoint_ops::print_mention, breakpoint_ops::print_one, breakpoint_ops::print_recreate, breakpoint_ops::remove_location, signal_catchpoint_breakpoint_hit(), signal_catchpoint_dtor(), signal_catchpoint_explains_signal(), signal_catchpoint_insert_location(), signal_catchpoint_ops, signal_catchpoint_print_it(), signal_catchpoint_print_mention(), signal_catchpoint_print_one(), signal_catchpoint_print_recreate(), and signal_catchpoint_remove_location().
Referenced by _initialize_break_catch_sig().
|
static |
Definition at line 178 of file break-catch-sig.c.
References gdb_assert, if(), INTERNAL_SIGNAL, target_waitstatus::kind, bp_location::owner, target_waitstatus::sig, TARGET_WAITKIND_STOPPED, target_waitstatus::value, and VEC_iterate.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 95 of file break-catch-sig.c.
References base_breakpoint_ops, breakpoint_ops::dtor, and VEC_free.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 356 of file break-catch-sig.c.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 108 of file break-catch-sig.c.
References if(), INTERNAL_SIGNAL, bp_location::owner, signal_catch_counts, signal_catch_update(), and VEC_iterate.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 216 of file break-catch-sig.c.
References _, annotate_catchpoint(), bpstats::breakpoint_at, get_last_target_status(), breakpoint::number, PRINT_SRC_AND_LOC, printf_filtered(), target_waitstatus::sig, signal_to_name_or_int(), and target_waitstatus::value.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 297 of file break-catch-sig.c.
References _, name, breakpoint::number, printf_filtered(), signal_to_name_or_int(), VEC_iterate, and VEC_length.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 238 of file break-catch-sig.c.
References value_print_options::addressprint, annotate_field(), current_uiout, do_cleanups(), get_user_print_options(), make_cleanup_obstack_free(), name, signal_to_name_or_int(), ui_out_field_skip(), ui_out_field_string(), ui_out_is_mi_like_p(), ui_out_text(), VEC_iterate, and VEC_length.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 331 of file break-catch-sig.c.
References fprintf_unfiltered(), fputc_unfiltered(), signal_to_name_or_int(), and VEC_iterate.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 140 of file break-catch-sig.c.
References gdb_assert, if(), INTERNAL_SIGNAL, bp_location::owner, signal_catch_counts, signal_catch_update(), and VEC_iterate.
Referenced by initialize_signal_catchpoint_ops().
|
static |
Definition at line 79 of file break-catch-sig.c.
References gdb_signal_to_name(), and plongest().
Referenced by signal_catchpoint_print_it(), signal_catchpoint_print_mention(), signal_catchpoint_print_one(), and signal_catchpoint_print_recreate().
|
static |
Definition at line 387 of file break-catch-sig.c.
References _, discard_cleanups(), do_cleanups(), error(), extract_arg(), gdb_assert, gdb_signal_from_command(), gdb_signal_from_name(), int, make_cleanup(), skip_spaces(), VEC_cleanup, VEC_safe_push, and xfree().
Referenced by catch_signal_command().
initialize_file_ftype _initialize_break_catch_sig |
Definition at line 488 of file break-catch-sig.c.
Referenced by initialize_all_files().
|
static |
Definition at line 71 of file break-catch-sig.c.
Referenced by _initialize_break_catch_sig(), signal_catchpoint_insert_location(), and signal_catchpoint_remove_location().
|
static |
Definition at line 67 of file break-catch-sig.c.
Referenced by create_signal_catchpoint(), and initialize_signal_catchpoint_ops().