|
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 "observer.h"#include "mi-main.h"#include "mi-cmd-break.h"#include "language.h"#include "location.h"#include "linespec.h"#include "gdb_obstack.h"#include <ctype.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 (char **argv, int argc) |
| static void | mi_cmd_break_insert_1 (int dprintf, const char *command, char **argv, int argc) |
| void | mi_cmd_break_insert (const char *command, char **argv, int argc) |
| void | mi_cmd_dprintf_insert (const char *command, char **argv, int argc) |
| void | mi_cmd_break_passcount (const char *command, char **argv, int argc) |
| void | mi_cmd_break_watch (const char *command, char **argv, int argc) |
| static char * | mi_read_next_line (void) |
| void | mi_cmd_break_commands (const char *command, char **argv, int argc) |
Variables | |
| static int | mi_breakpoint_observers_installed |
| static int | mi_can_breakpoint_notify |
| static char ** | mi_command_line_array |
| static int | mi_command_line_array_cnt |
| static int | mi_command_line_array_ptr |
| anonymous enum |
| Enumerator | |
|---|---|
| FROM_TTY | |
Definition at line 36 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 373 of file mi-cmd-break.c.
|
static |
Definition at line 52 of file mi-cmd-break.c.
References CATCH, END_CATCH, exception_print(), gdb_stderr, mi_can_breakpoint_notify, print_breakpoint(), RETURN_MASK_ALL, and TRY.
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 99 of file mi-cmd-break.c.
References gdb::argv, string, and xsnprintf().
Referenced by mi_cmd_break_insert_1().
| void mi_cmd_break_commands | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 490 of file mi-cmd-break.c.
References _, gdb::argv, break_command(), breakpoint_set_commands(), check_tracepoint_command(), error(), get_breakpoint(), is_tracepoint(), mi_command_line_array, mi_command_line_array_cnt, mi_command_line_array_ptr, mi_read_next_line(), and read_command_lines_1().
| void mi_cmd_break_insert | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 359 of file mi-cmd-break.c.
References gdb::argv, and mi_cmd_break_insert_1().
|
static |
Definition at line 168 of file mi-cmd-break.c.
References _, gdb::argv, AUTO_BOOLEAN_FALSE, AUTO_BOOLEAN_TRUE, bkpt_breakpoint_ops, bp_breakpoint, bp_dprintf, bp_fast_tracepoint, bp_hardware_breakpoint, bp_tracepoint, create_breakpoint(), current_language, dprintf_breakpoint_ops, error(), explicit_location::function_name, get_current_arch(), initialize_explicit_location(), explicit_location::label_name, explicit_location::line_offset, LINE_OFFSET_UNKNOWN, linespec_parse_line_offset(), mi_argv_to_format(), mi_getopt(), new_explicit_location(), setup_breakpoint_reporting(), line_offset::sign, explicit_location::source_filename, string, string_to_event_location_basic(), tracepoint_breakpoint_ops, and WILD.
Referenced by mi_cmd_break_insert(), and mi_cmd_dprintf_insert().
| void mi_cmd_break_passcount | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 381 of file mi-cmd-break.c.
References _, gdb::argv, error(), get_tracepoint(), observer_notify_breakpoint_modified(), and tracepoint::pass_count.
| void mi_cmd_break_watch | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 412 of file mi-cmd-break.c.
References _, ACCESS_WP, gdb::argv, awatch_command_wrapper(), error(), FROM_TTY, mi_getopt(), READ_WP, REG_WP, rwatch_command_wrapper(), and watch_command_wrapper().
| void mi_cmd_dprintf_insert | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 368 of file mi-cmd-break.c.
References gdb::argv, and mi_cmd_break_insert_1().
|
static |
Definition at line 481 of file mi-cmd-break.c.
References mi_command_line_array, mi_command_line_array_cnt, and mi_command_line_array_ptr.
Referenced by mi_cmd_break_commands().
| scoped_restore_tmpl<int> setup_breakpoint_reporting | ( | void | ) |
Definition at line 83 of file mi-cmd-break.c.
References breakpoint_notify(), make_scoped_restore(), mi_breakpoint_observers_installed, mi_can_breakpoint_notify, and observer_attach_breakpoint_created().
Referenced by mi_catch_load_unload(), mi_cmd_break_insert_1(), mi_cmd_catch_assert(), and mi_cmd_catch_exception().
|
static |
Definition at line 43 of file mi-cmd-break.c.
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 47 of file mi-cmd-break.c.
Referenced by breakpoint_notify(), and setup_breakpoint_reporting().
|
static |
Definition at line 476 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
|
static |
Definition at line 477 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
|
static |
Definition at line 478 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
1.8.14