|
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 "gdb.h"#include "observer.h"#include "mi-main.h"#include "mi-cmd-break.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) |
| struct cleanup * | setup_breakpoint_reporting (void) |
| static char * | mi_argv_to_format (char **argv, int argc) |
| static void | mi_cmd_break_insert_1 (int dprintf, char *command, char **argv, int argc) |
| void | mi_cmd_break_insert (char *command, char **argv, int argc) |
| void | mi_cmd_dprintf_insert (char *command, char **argv, int argc) |
| void | mi_cmd_break_passcount (char *command, char **argv, int argc) |
| void | mi_cmd_break_watch (char *command, char **argv, int argc) |
| static char * | mi_read_next_line (void) |
| void | mi_cmd_break_commands (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 34 of file mi-cmd-break.c.
| enum bp_type |
| Enumerator | |
|---|---|
| REG_BP | |
| HW_BP | |
| REGEXP_BP | |
Definition at line 56 of file mi-cmd-break.c.
| enum wp_type |
| Enumerator | |
|---|---|
| REG_WP | |
| READ_WP | |
| ACCESS_WP | |
Definition at line 318 of file mi-cmd-break.c.
|
static |
Definition at line 50 of file mi-cmd-break.c.
References current_uiout, gdb_breakpoint_query(), mi_can_breakpoint_notify, and breakpoint::number.
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 91 of file mi-cmd-break.c.
References xsnprintf().
Referenced by mi_cmd_break_insert_1().
| void mi_cmd_break_commands | ( | char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 435 of file mi-cmd-break.c.
References _, 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 | ( | char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 304 of file mi-cmd-break.c.
References mi_cmd_break_insert_1().
Definition at line 167 of file mi-cmd-break.c.
References _, AUTO_BOOLEAN_FALSE, AUTO_BOOLEAN_TRUE, bkpt_breakpoint_ops, bp_breakpoint, bp_dprintf, bp_fast_tracepoint, bp_hardware_breakpoint, bp_tracepoint, create_breakpoint(), do_cleanups(), dprintf_breakpoint_ops, error(), get_current_arch(), make_cleanup(), mi_argv_to_format(), mi_getopt(), null_cleanup(), setup_breakpoint_reporting(), tracepoint_breakpoint_ops, and xfree().
Referenced by mi_cmd_break_insert(), and mi_cmd_dprintf_insert().
| void mi_cmd_break_passcount | ( | char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 326 of file mi-cmd-break.c.
References _, tracepoint::base, error(), get_tracepoint(), observer_notify_breakpoint_modified(), and tracepoint::pass_count.
| void mi_cmd_break_watch | ( | char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 357 of file mi-cmd-break.c.
References _, ACCESS_WP, awatch_command_wrapper(), error(), FROM_TTY, mi_getopt(), READ_WP, REG_WP, rwatch_command_wrapper(), and watch_command_wrapper().
| void mi_cmd_dprintf_insert | ( | char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 313 of file mi-cmd-break.c.
References mi_cmd_break_insert_1().
|
static |
Definition at line 426 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().
| struct cleanup* setup_breakpoint_reporting | ( | void | ) |
Definition at line 70 of file mi-cmd-break.c.
References breakpoint_notify(), make_cleanup_restore_integer(), 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 41 of file mi-cmd-break.c.
Referenced by setup_breakpoint_reporting().
|
static |
Definition at line 45 of file mi-cmd-break.c.
Referenced by breakpoint_notify(), and setup_breakpoint_reporting().
|
static |
Definition at line 421 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
|
static |
Definition at line 422 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
|
static |
Definition at line 423 of file mi-cmd-break.c.
Referenced by mi_cmd_break_commands(), and mi_read_next_line().
1.8.10