GDB (xrefs)
|
#include "defs.h"
#include <ctype.h>
#include "breakpoint.h"
#include "gdbcmd.h"
#include "inferior.h"
#include "cli/cli-utils.h"
#include "annotate.h"
#include "mi/mi-common.h"
#include "valprint.h"
#include "arch-utils.h"
#include "observable.h"
#include "xml-syscall.h"
#include "cli/cli-style.h"
#include "cli/cli-decode.h"
Go to the source code of this file.
Classes | |
struct | syscall_catchpoint |
struct | catch_syscall_inferior_data |
Functions | |
static struct catch_syscall_inferior_data * | get_catch_syscall_inferior_data (struct inferior *inf) |
static int | syscall_catchpoint_p (struct breakpoint *b) |
static void | create_syscall_event_catchpoint (int tempflag, std::vector< int > &&filter) |
static std::vector< int > | catch_syscall_split_args (const char *arg) |
static void | catch_syscall_command_1 (const char *arg, int from_tty, struct cmd_list_element *command) |
static int | is_syscall_catchpoint_enabled (struct breakpoint *bp) |
int | catch_syscall_enabled (void) |
static bool | catching_syscall_number_1 (struct breakpoint *b, int syscall_number) |
bool | catching_syscall_number (int syscall_number) |
static void | catch_syscall_completer (struct cmd_list_element *cmd, completion_tracker &tracker, const char *text, const char *word) |
static void | clear_syscall_counts (struct inferior *inf) |
void | _initialize_break_catch_syscall () |
Variables | |
static const registry< inferior >::key< catch_syscall_inferior_data > | catch_syscall_inferior_data |
void _initialize_break_catch_syscall | ( | ) |
Definition at line 574 of file break-catch-syscall.c.
Referenced by initialize_all_files().
|
static |
Definition at line 419 of file break-catch-syscall.c.
References catch_syscall_split_args(), CATCH_TEMPORARY, cmd_list_element::context(), create_syscall_event_catchpoint(), gdbarch_get_syscall_number_p(), get_current_arch(), and get_syscall_by_number().
|
static |
Definition at line 514 of file break-catch-syscall.c.
References complete_on_enum(), get_current_arch(), get_syscall_group_names(), get_syscall_names(), and prefix.
int catch_syscall_enabled | ( | void | ) |
Definition at line 469 of file break-catch-syscall.c.
References current_inferior(), get_catch_syscall_inferior_data(), and catch_syscall_inferior_data::total_syscalls_count.
Referenced by handle_syscall_event(), linux_handle_syscall_trap(), i386_linux_nat_target::low_resume(), nbsd_resume(), inf_ptrace_target::resume(), nbsd_nat_target::wait(), and fbsd_nat_target::wait_1().
|
static |
Definition at line 359 of file break-catch-syscall.c.
References get_syscall_by_number(), get_syscalls_by_group(), get_syscalls_by_name(), syscall::number, and target_gdbarch().
Referenced by catch_syscall_command_1().
bool catching_syscall_number | ( | int | syscall_number | ) |
Definition at line 502 of file break-catch-syscall.c.
References all_breakpoints(), and catching_syscall_number_1().
Referenced by handle_syscall_event(), linux_handle_syscall_trap(), nbsd_nat_target::wait(), and fbsd_nat_target::wait_1().
|
static |
Definition at line 481 of file break-catch-syscall.c.
References is_syscall_catchpoint_enabled(), and syscall_catchpoint::syscalls_to_be_caught.
Referenced by catching_syscall_number().
|
static |
Definition at line 562 of file break-catch-syscall.c.
References catch_syscall_inferior_data::any_syscall_count, get_catch_syscall_inferior_data(), catch_syscall_inferior_data::syscalls_counts, and catch_syscall_inferior_data::total_syscalls_count.
|
static |
Definition at line 346 of file break-catch-syscall.c.
References get_current_arch(), and install_breakpoint().
Referenced by catch_syscall_command_1().
|
static |
Definition at line 86 of file break-catch-syscall.c.
Referenced by catch_syscall_enabled(), clear_syscall_counts(), syscall_catchpoint::insert_location(), and syscall_catchpoint::remove_location().
|
static |
Definition at line 458 of file break-catch-syscall.c.
References bp, bp_call_disabled, bp_disabled, and syscall_catchpoint_p().
Referenced by catching_syscall_number_1().
|
static |
Definition at line 340 of file break-catch-syscall.c.
Referenced by is_syscall_catchpoint_enabled().
Definition at line 83 of file break-catch-syscall.c.