GDB (API)
|
#include "exceptions.h"
#include "gdbsupport/array-view.h"
#include "gdbsupport/scoped_restore.h"
#include <chrono>
Go to the source code of this file.
Classes | |
struct | set_batch_flag_and_restore_page_info |
Macros | |
#define | gdb_stdout (*current_ui_gdb_stdout_ptr ()) |
#define | gdb_stdin (*current_ui_gdb_stdin_ptr ()) |
#define | gdb_stderr (*current_ui_gdb_stderr_ptr ()) |
#define | gdb_stdlog (*current_ui_gdb_stdlog_ptr ()) |
Enumerations | |
enum class | strncmp_iw_mode { NORMAL , MATCH_PARAMS } |
enum | resource_limit_kind { LIMIT_CUR , LIMIT_MAX } |
Functions | |
int | strncmp_iw_with_mode (const char *string1, const char *string2, size_t string2_len, strncmp_iw_mode mode, enum language language, completion_match_for_lcd *match_for_lcd=NULL, bool ignore_template_params=false) |
int | strncmp_iw (const char *string1, const char *string2, size_t string2_len) |
int | strcmp_iw (const char *string1, const char *string2) |
int | strcmp_iw_ordered (const char *, const char *) |
void | reset_prompt_for_continue_wait_time (void) |
std::chrono::steady_clock::duration | get_prompt_for_continue_wait_time () |
int | parse_pid_to_attach (const char *args) |
int | parse_escape (struct gdbarch *, const char **) |
void | init_page_info (void) |
int | gdb_filename_fnmatch (const char *pattern, const char *string, int flags) |
void | substitute_path_component (char **stringp, const char *from, const char *to) |
std::string | ldirname (const char *filename) |
int | count_path_elements (const char *path) |
const char * | strip_leading_path_elements (const char *path, int n) |
int | query (const char *,...) ATTRIBUTE_PRINTF(1 |
int int | nquery (const char *,...) ATTRIBUTE_PRINTF(1 |
int int int | yquery (const char *,...) ATTRIBUTE_PRINTF(1 |
int int int void | begin_line (void) |
void | wrap_here (int) |
void | reinitialize_more_filter (void) |
int | get_chars_per_line () |
struct ui_file ** | current_ui_gdb_stdout_ptr (void) |
struct ui_file ** | current_ui_gdb_stdin_ptr (void) |
struct ui_file ** | current_ui_gdb_stderr_ptr (void) |
struct ui_file ** | current_ui_gdb_stdlog_ptr (void) |
void | gdb_flush (struct ui_file *stream) |
void | set_screen_width_and_height (int width, int height) |
void | gdb_puts (const char *, struct ui_file *) |
void | gdb_putc (int c, struct ui_file *) |
void | gdb_putc (int c) |
void | gdb_puts (const char *) |
void | puts_tabular (char *string, int width, int right) |
void | gdb_vprintf (const char *, va_list) ATTRIBUTE_PRINTF(1 |
void void | gdb_vprintf (struct ui_file *, const char *, va_list) ATTRIBUTE_PRINTF(2 |
void void void | gdb_printf (struct ui_file *, const char *,...) ATTRIBUTE_PRINTF(2 |
void void void void | gdb_printf (const char *,...) ATTRIBUTE_PRINTF(1 |
void void void void void | printf_unfiltered (const char *,...) ATTRIBUTE_PRINTF(1 |
void void void void void void | print_spaces (int, struct ui_file *) |
const char * | n_spaces (int) |
int | filtered_printing_initialized (void) |
void | fprintf_styled (struct ui_file *stream, const ui_file_style &style, const char *fmt,...) ATTRIBUTE_PRINTF(3 |
void void | fputs_styled (const char *linebuffer, const ui_file_style &style, struct ui_file *stream) |
void | fputs_highlighted (const char *str, const compiled_regex &highlight, struct ui_file *stream) |
const char * | paddress (struct gdbarch *gdbarch, CORE_ADDR addr) |
const char * | print_core_address (struct gdbarch *gdbarch, CORE_ADDR address) |
CORE_ADDR | string_to_core_addr (const char *my_string) |
void | fprintf_symbol (struct ui_file *, const char *, enum language, int) |
void | perror_warning_with_name (const char *string) |
void | print_sys_errmsg (const char *, int) |
void | error_stream (const string_file &) ATTRIBUTE_NORETURN |
void | demangler_vwarning (const char *file, int line, const char *, va_list ap) ATTRIBUTE_PRINTF(3 |
void void | demangler_warning (const char *file, int line, const char *,...) ATTRIBUTE_PRINTF(3 |
void void int | myread (int, char *, int) |
ULONGEST | uinteger_pow (ULONGEST v1, LONGEST v2) |
int | can_dump_core (enum resource_limit_kind limit_kind) |
void | warn_cant_dump_core (const char *reason) |
void | dump_core (void) |
void | copy_bitwise (gdb_byte *dest, ULONGEST dest_offset, const gdb_byte *source, ULONGEST source_offset, ULONGEST nbits, int bits_big_endian) |
Variables | |
bool | sevenbit_strings |
bool | pagination_enabled |
bool | debug_timestamp |
struct ui_file * | gdb_stdtarg |
struct ui_file * | gdb_stdtargerr |
struct ui_file * | gdb_stdtargin |
void(* | deprecated_error_begin_hook )(void) |
const char * | warning_pre_print |
#define gdb_stderr (*current_ui_gdb_stderr_ptr ()) |
#define gdb_stdin (*current_ui_gdb_stdin_ptr ()) |
#define gdb_stdlog (*current_ui_gdb_stdlog_ptr ()) |
#define gdb_stdout (*current_ui_gdb_stdout_ptr ()) |
enum resource_limit_kind |
|
strong |
int int int void begin_line | ( | void | ) |
int can_dump_core | ( | enum resource_limit_kind | limit_kind | ) |
void copy_bitwise | ( | gdb_byte * | dest, |
ULONGEST | dest_offset, | ||
const gdb_byte * | source, | ||
ULONGEST | source_offset, | ||
ULONGEST | nbits, | ||
int | bits_big_endian | ||
) |
int count_path_elements | ( | const char * | path | ) |
struct ui_file ** current_ui_gdb_stderr_ptr | ( | void | ) |
struct ui_file ** current_ui_gdb_stdin_ptr | ( | void | ) |
struct ui_file ** current_ui_gdb_stdlog_ptr | ( | void | ) |
struct ui_file ** current_ui_gdb_stdout_ptr | ( | void | ) |
void demangler_vwarning | ( | const char * | file, |
int | line, | ||
const char * | , | ||
va_list | ap | ||
) |
void void demangler_warning | ( | const char * | file, |
int | line, | ||
const char * | , | ||
... | |||
) |
void dump_core | ( | void | ) |
void error_stream | ( | const string_file & | ) |
int filtered_printing_initialized | ( | void | ) |
void fprintf_styled | ( | struct ui_file * | stream, |
const ui_file_style & | style, | ||
const char * | fmt, | ||
... | |||
) |
void fprintf_symbol | ( | struct ui_file * | , |
const char * | , | ||
enum | language, | ||
int | |||
) |
void fputs_highlighted | ( | const char * | str, |
const compiled_regex & | highlight, | ||
struct ui_file * | stream | ||
) |
void void fputs_styled | ( | const char * | linebuffer, |
const ui_file_style & | style, | ||
struct ui_file * | stream | ||
) |
int gdb_filename_fnmatch | ( | const char * | pattern, |
const char * | string, | ||
int | flags | ||
) |
void gdb_flush | ( | struct ui_file * | stream | ) |
void void void void gdb_printf | ( | const char * | , |
... | |||
) |
void void void gdb_printf | ( | struct ui_file * | , |
const char * | , | ||
... | |||
) |
void gdb_putc | ( | int | c | ) |
void gdb_putc | ( | int | c, |
struct ui_file * | |||
) |
void gdb_puts | ( | const char * | ) |
void gdb_puts | ( | const char * | , |
struct ui_file * | |||
) |
void gdb_vprintf | ( | const char * | , |
va_list | |||
) |
void void gdb_vprintf | ( | struct ui_file * | , |
const char * | , | ||
va_list | |||
) |
int get_chars_per_line | ( | ) |
std::chrono::steady_clock::duration get_prompt_for_continue_wait_time | ( | ) |
void init_page_info | ( | void | ) |
std::string ldirname | ( | const char * | filename | ) |
void void int myread | ( | int | , |
char * | , | ||
int | |||
) |
const char * n_spaces | ( | int | ) |
int int nquery | ( | const char * | , |
... | |||
) |
const char * paddress | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | addr | ||
) |
int parse_escape | ( | struct gdbarch * | , |
const char ** | |||
) |
int parse_pid_to_attach | ( | const char * | args | ) |
void perror_warning_with_name | ( | const char * | string | ) |
const char * print_core_address | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | address | ||
) |
void void void void void void print_spaces | ( | int | , |
struct ui_file * | |||
) |
void print_sys_errmsg | ( | const char * | , |
int | |||
) |
void void void void void printf_unfiltered | ( | const char * | , |
... | |||
) |
void puts_tabular | ( | char * | string, |
int | width, | ||
int | right | ||
) |
int query | ( | const char * | , |
... | |||
) |
void reinitialize_more_filter | ( | void | ) |
void reset_prompt_for_continue_wait_time | ( | void | ) |
void set_screen_width_and_height | ( | int | width, |
int | height | ||
) |
int strcmp_iw | ( | const char * | string1, |
const char * | string2 | ||
) |
int strcmp_iw_ordered | ( | const char * | , |
const char * | |||
) |
CORE_ADDR string_to_core_addr | ( | const char * | my_string | ) |
const char * strip_leading_path_elements | ( | const char * | path, |
int | n | ||
) |
int strncmp_iw | ( | const char * | string1, |
const char * | string2, | ||
size_t | string2_len | ||
) |
int strncmp_iw_with_mode | ( | const char * | string1, |
const char * | string2, | ||
size_t | string2_len, | ||
strncmp_iw_mode | mode, | ||
enum language | language, | ||
completion_match_for_lcd * | match_for_lcd = NULL , |
||
bool | ignore_template_params = false |
||
) |
void substitute_path_component | ( | char ** | stringp, |
const char * | from, | ||
const char * | to | ||
) |
ULONGEST uinteger_pow | ( | ULONGEST | v1, |
LONGEST | v2 | ||
) |
void warn_cant_dump_core | ( | const char * | reason | ) |
void wrap_here | ( | int | ) |
int int int yquery | ( | const char * | , |
... | |||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |