GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | match_list_displayer |
Typedefs | |
typedef void | mld_crlf_ftype(const struct match_list_displayer *) |
typedef void | mld_putch_ftype(const struct match_list_displayer *, int) |
typedef void | mld_puts_ftype(const struct match_list_displayer *, const char *) |
typedef void | mld_flush_ftype(const struct match_list_displayer *) |
typedef void | mld_erase_entire_line_ftype(const struct match_list_displayer *) |
typedef void | mld_beep_ftype(const struct match_list_displayer *) |
typedef int | mld_read_key_ftype(const struct match_list_displayer *) |
typedef htab_t | completion_tracker_t |
Enumerations | |
enum | maybe_add_completion_enum { MAYBE_ADD_COMPLETION_OK, MAYBE_ADD_COMPLETION_OK_MAX_REACHED, MAYBE_ADD_COMPLETION_MAX_REACHED, MAYBE_ADD_COMPLETION_DUPLICATE } |
Variables | |
const char * | line_buffer |
const char int | point |
int | max_completions |
typedef htab_t completion_tracker_t |
Definition at line 129 of file completer.h.
typedef void mld_beep_ftype(const struct match_list_displayer *) |
Definition at line 33 of file completer.h.
typedef void mld_crlf_ftype(const struct match_list_displayer *) |
Definition at line 27 of file completer.h.
typedef void mld_erase_entire_line_ftype(const struct match_list_displayer *) |
Definition at line 32 of file completer.h.
typedef void mld_flush_ftype(const struct match_list_displayer *) |
Definition at line 31 of file completer.h.
typedef void mld_putch_ftype(const struct match_list_displayer *, int) |
Definition at line 28 of file completer.h.
typedef void mld_puts_ftype(const struct match_list_displayer *, const char *) |
Definition at line 29 of file completer.h.
typedef int mld_read_key_ftype(const struct match_list_displayer *) |
Definition at line 34 of file completer.h.
Enumerator | |
---|---|
MAYBE_ADD_COMPLETION_OK | |
MAYBE_ADD_COMPLETION_OK_MAX_REACHED | |
MAYBE_ADD_COMPLETION_MAX_REACHED | |
MAYBE_ADD_COMPLETION_DUPLICATE |
Definition at line 146 of file completer.h.
char* gdb_completion_word_break_characters | ( | void | ) |
Definition at line 1054 of file completer.c.
References gdb_assert, handle_brkchars, and VEC().
Referenced by init_main().
void gdb_display_match_list | ( | char ** | matches, |
int | len, | ||
int | max, | ||
const struct match_list_displayer * | |||
) |
Definition at line 1728 of file completer.c.
References match_list_displayer::crlf, match_list_displayer::flush, gdb_assert, gdb_display_match_list_1(), gdb_get_y_or_n(), get_max_completions_reached_message(), match_list_displayer::puts, and xsnprintf().
Referenced by cli_display_match_list(), and tui_rl_display_match_list().
const char const char const char const char const char const char const char const char const char const char const char const char const char const char const char const char* char* get_gdb_completer_quote_characters | ( | void | ) |
Definition at line 94 of file completer.c.
References gdb_completer_quote_characters.
Referenced by init_main().
const char* get_max_completions_reached_message | ( | void | ) |
Definition at line 1197 of file completer.c.
References _.
Referenced by complete_command(), and gdb_display_match_list().
struct cleanup* make_cleanup_free_completion_tracker | ( | completion_tracker_t * | tracker_ptr | ) |
Definition at line 821 of file completer.c.
References free_completion_tracker(), make_cleanup(), and null_cleanup().
Referenced by default_make_symbol_completion_list_break_on_1().
enum maybe_add_completion_enum maybe_add_completion | ( | completion_tracker_t | tracker, |
char * | name | ||
) |
Definition at line 832 of file completer.c.
References gdb_assert, MAYBE_ADD_COMPLETION_DUPLICATE, MAYBE_ADD_COMPLETION_MAX_REACHED, MAYBE_ADD_COMPLETION_OK, MAYBE_ADD_COMPLETION_OK_MAX_REACHED, and name.
Referenced by VEC().
completion_tracker_t new_completion_tracker | ( | void | ) |
Definition at line 796 of file completer.c.
References streq(), xcalloc(), and xfree().
Referenced by default_make_symbol_completion_list_break_on_1().
Definition at line 102 of file completer.c.
References line_completion_function().
Referenced by init_main().
void set_gdb_completion_word_break_characters | ( | completer_ftype * | fn | ) |
Definition at line 461 of file completer.c.
References gdb_completer_command_word_break_characters, and gdb_completer_file_name_break_characters.
Referenced by cmdpy_completer_handle_brkchars().
Definition at line 1145 of file completer.c.
References current_language, gdb_completer_quote_characters, language_defn::la_word_break_characters, and scan().
Referenced by skip_quoted().
void throw_max_completions_reached_error | ( | void | ) |
Definition at line 859 of file completer.c.
References _, MAX_COMPLETIONS_REACHED_ERROR, and throw_error().
Referenced by VEC().
VEC | ( | char_ptr | ) | const |
const char* line_buffer |
Definition at line 72 of file completer.h.
Referenced by print_doc_line().
int max_completions |
Definition at line 791 of file completer.c.
Referenced by complete_command().
Definition at line 72 of file completer.h.
Referenced by complete_command().