GDB (xrefs)

Classes | Functions | Variables
/tmp/gdb-8.1/gdb/skip.c File Reference
`#include "defs.h"`
`#include "skip.h"`
`#include "value.h"`
`#include "valprint.h"`
`#include "ui-out.h"`
`#include "symtab.h"`
`#include "gdbcmd.h"`
`#include "command.h"`
`#include "completer.h"`
`#include "stack.h"`
`#include "cli/cli-utils.h"`
`#include "arch-utils.h"`
`#include "linespec.h"`
`#include "objfiles.h"`
`#include "breakpoint.h"`
`#include "source.h"`
`#include "filenames.h"`
`#include "fnmatch.h"`
`#include "gdb_regex.h"`
`#include "common/gdb_optional.h"`
`#include <list>`

Go to the source code of this file.

## Classes
class | skiplist_entry
struct | skiplist_entry::private_key

## Functions
static void | skip_file_command (const char *arg, int from_tty)
static void | skip_function (const char *name)
static void | skip_function_command (const char *arg, int from_tty)
static void | skip_command (const char *arg, int from_tty)
static void | info_skip_command (const char *arg, int from_tty)
static void | skip_enable_command (const char *arg, int from_tty)
static void | skip_disable_command (const char *arg, int from_tty)
static void | skip_delete_command (const char *arg, int from_tty)
bool | function_name_is_marked_for_skip (const char *function_name, const symtab_and_line &function_sal)
void | _initialize_step_skip (void)

## Variables
static std::list< skiplist_entry > | skiplist_entries
static int | highest_skiplist_entry_num = 0

## Function Documentation

## ◆ _initialize_step_skip()

void _initialize_step_skip | ( | void |  | ) |

Definition at line 604 of file skip.c.

References _, add_cmd(), add_info(), add_prefix_cmd(), class_breakpoint, cmdlist, filename_completer(), info_skip_command(), location_completer(), set_cmd_completer(), skip_command(), skip_delete_command(), skip_disable_command(), skip_enable_command(), skip_file_command(), and skip_function_command().

## ◆ function_name_is_marked_for_skip()

bool function_name_is_marked_for_skip | ( | const char * | function_name,
|  | const symtab_and_line & | function_sal
| ) |  |

Definition at line 574 of file skip.c.

References skiplist_entries.

Referenced by process_event_stop_test().

## ◆ info_skip_command()

static void info_skip_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 356 of file skip.c.

References _, current_uiout, get_user_print_options(), number_is_in_list(), QUIT, skiplist_entries, ui_left, ui_noalign, and ui_right.

Referenced by _initialize_step_skip().

## ◆ skip_command()

static void skip_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 229 of file skip.c.

References _, skiplist_entry::add_entry(), gdb::argv, error(), gdb_assert, printf_filtered(), skip_function_command(), and string.

Referenced by _initialize_step_skip().

## ◆ skip_delete_command()

static void skip_delete_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 459 of file skip.c.

References _, error(), skiplist_entry::number(), number_is_in_list(), and skiplist_entries.

Referenced by _initialize_step_skip().

## ◆ skip_disable_command()

static void skip_disable_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 443 of file skip.c.

References _, error(), number_is_in_list(), and skiplist_entries.

Referenced by _initialize_step_skip().

## ◆ skip_enable_command()

static void skip_enable_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 427 of file skip.c.

References _, error(), number_is_in_list(), and skiplist_entries.

Referenced by _initialize_step_skip().

## ◆ skip_file_command()

static void skip_file_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 164 of file skip.c.

References _, skiplist_entry::add_entry(), error(), symtab::filename, get_last_displayed_symtab(), printf_filtered(), string, and symtab_to_fullname().

Referenced by _initialize_step_skip().

## ◆ skip_function()

static void skip_function | ( | const char * | name | ) |
| static

Definition at line 194 of file skip.c.

References _, skiplist_entry::add_entry(), name, printf_filtered(), and string.

Referenced by skip_function_command().

## ◆ skip_function_command()

static void skip_function_command | ( | const char * | arg,
|  | int | from_tty
| ) |  |
| static

Definition at line 202 of file skip.c.

References _, error(), find_pc_partial_function(), get_current_arch(), get_last_displayed_addr(), last_displayed_sal_is_valid(), name, paddress(), and skip_function().

Referenced by _initialize_step_skip(), and skip_command().

## Variable Documentation

## ◆ highest_skiplist_entry_num

int highest_skiplist_entry_num = 0
| static

Definition at line 117 of file skip.c.

Referenced by skiplist_entry::add_entry().

## ◆ skiplist_entries

std::list<skiplist_entry> skiplist_entries
| static

Definition at line 116 of file skip.c.

Referenced by skiplist_entry::add_entry(), function_name_is_marked_for_skip(), info_skip_command(), skip_delete_command(), skip_disable_command(), and skip_enable_command().