GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "mi-cmds.h"
#include "ui-out.h"
#include "mi-out.h"
#include "breakpoint.h"
#include "mi-getopt.h"
#include "observable.h"
#include "mi-main.h"
#include "mi-cmd-break.h"
#include "language.h"
#include "location.h"
#include "linespec.h"
#include "gdbsupport/gdb_obstack.h"
#include <ctype.h>
#include "tracepoint.h"
Go to the source code of this file.
Enumerations | |
enum | { FROM_TTY = 0 } |
enum | bp_type { REG_BP , HW_BP , REGEXP_BP } |
enum | wp_type { REG_WP , READ_WP , ACCESS_WP } |
Functions | |
static void | breakpoint_notify (struct breakpoint *b) |
scoped_restore_tmpl< int > | setup_breakpoint_reporting (void) |
static std::string | mi_argv_to_format (const char *const *argv, int argc) |
static void | mi_cmd_break_insert_1 (int dprintf, const char *command, const char *const *argv, int argc) |
void | mi_cmd_break_insert (const char *command, const char *const *argv, int argc) |
void | mi_cmd_dprintf_insert (const char *command, const char *const *argv, int argc) |
void | mi_cmd_break_condition (const char *command, const char *const *argv, int argc) |
void | mi_cmd_break_passcount (const char *command, const char *const *argv, int argc) |
void | mi_cmd_break_watch (const char *command, const char *const *argv, int argc) |
void | mi_cmd_break_commands (const char *command, const char *const *argv, int argc) |
Variables | |
static int | mi_breakpoint_observers_installed |
static int | mi_can_breakpoint_notify |
anonymous enum |
Enumerator | |
---|---|
FROM_TTY |
Definition at line 37 of file mi-cmd-break.c.
enum bp_type |
Enumerator | |
---|---|
REG_BP | |
HW_BP | |
REGEXP_BP |
Definition at line 68 of file mi-cmd-break.c.
enum wp_type |
Enumerator | |
---|---|
REG_WP | |
READ_WP | |
ACCESS_WP |
Definition at line 455 of file mi-cmd-break.c.
|
static |
Definition at line 53 of file mi-cmd-break.c.
References exception_print(), gdb_stderr, mi_can_breakpoint_notify, and print_breakpoint().
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 100 of file mi-cmd-break.c.
Referenced by mi_cmd_break_insert_1().
void mi_cmd_break_commands | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 555 of file mi-cmd-break.c.
References break_command(), breakpoint_set_commands(), get_breakpoint(), is_tracepoint(), read_command_lines_1(), and validate_actionline().
void mi_cmd_break_condition | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 402 of file mi-cmd-break.c.
References mi_getopt(), and set_breakpoint_condition().
void mi_cmd_break_insert | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 384 of file mi-cmd-break.c.
References mi_cmd_break_insert_1().
|
static |
Definition at line 169 of file mi-cmd-break.c.
References AUTO_BOOLEAN_FALSE, AUTO_BOOLEAN_TRUE, bp_breakpoint, bp_dprintf, bp_fast_tracepoint, bp_hardware_breakpoint, bp_tracepoint, breakpoint_ops_for_location_spec(), code_breakpoint_ops, create_breakpoint(), current_language, FULL, get_current_arch(), LINE_OFFSET_UNKNOWN, linespec_parse_line_offset(), mi_argv_to_format(), mi_getopt(), mi_parse_thread_group_id(), setup_breakpoint_reporting(), string_to_location_spec_basic(), valid_global_thread_id(), and WILD.
Referenced by mi_cmd_break_insert(), and mi_cmd_dprintf_insert().
void mi_cmd_break_passcount | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 463 of file mi-cmd-break.c.
References get_tracepoint(), notify_breakpoint_modified(), and tracepoint::pass_count.
void mi_cmd_break_watch | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 495 of file mi-cmd-break.c.
References ACCESS_WP, awatch_command_wrapper(), FROM_TTY, mi_getopt(), READ_WP, REG_WP, rwatch_command_wrapper(), and watch_command_wrapper().
void mi_cmd_dprintf_insert | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 393 of file mi-cmd-break.c.
References mi_cmd_break_insert_1().
scoped_restore_tmpl< int > setup_breakpoint_reporting | ( | void | ) |
Definition at line 83 of file mi-cmd-break.c.
References gdb::observers::breakpoint_created, breakpoint_notify(), mi_breakpoint_observers_installed, and mi_can_breakpoint_notify.
Referenced by mi_catch_load_unload(), mi_cmd_break_insert_1(), mi_cmd_catch_assert(), mi_cmd_catch_exception(), mi_cmd_catch_exception_event(), and mi_cmd_catch_handlers().
|
static |
Definition at line 44 of file mi-cmd-break.c.
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 48 of file mi-cmd-break.c.
Referenced by breakpoint_notify(), and setup_breakpoint_reporting().