GDB (xrefs)
|
#include "defs.h"
#include "ui-file.h"
#include "tui/tui-file.h"
#include "tui/tui-io.h"
#include "tui/tui-command.h"
#include "tui.h"
Go to the source code of this file.
Classes | |
struct | tui_stream |
Enumerations | |
enum | streamtype { afile, astring } |
Functions | |
static struct ui_file * | tui_file_new (void) |
static void | tui_file_delete (struct ui_file *file) |
struct ui_file * | tui_fileopen (FILE *stream) |
struct ui_file * | tui_sfileopen (int n) |
static int | tui_file_isatty (struct ui_file *file) |
static void | tui_file_rewind (struct ui_file *file) |
static void | tui_file_put (struct ui_file *file, ui_file_put_method_ftype *write, void *dest) |
void | tui_file_fputs (const char *linebuffer, struct ui_file *file) |
char * | tui_file_get_strbuf (struct ui_file *file) |
void | tui_file_adjust_strbuf (int n, struct ui_file *file) |
static void | tui_file_flush (struct ui_file *file) |
Variables | |
static ui_file_flush_ftype | tui_file_flush |
ui_file_fputs_ftype | tui_file_fputs |
static ui_file_isatty_ftype | tui_file_isatty |
static ui_file_rewind_ftype | tui_file_rewind |
static ui_file_put_ftype | tui_file_put |
static ui_file_delete_ftype | tui_file_delete |
static int | tui_file_magic |
enum streamtype |
Enumerator | |
---|---|
afile | |
astring |
Definition at line 30 of file tui-file.c.
Definition at line 204 of file tui-file.c.
References _, astring, internal_error(), tui_stream::ts_buflen, tui_stream::ts_magic, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_magic, ui_file_data(), xmalloc(), and xrealloc().
Referenced by tui_file_fputs().
|
static |
Definition at line 72 of file tui-file.c.
References _, astring, internal_error(), tui_stream::ts_magic, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_magic, ui_file_data(), and xfree().
|
static |
Definition at line 233 of file tui-file.c.
References _, afile, astring, gdb_stdout, internal_error(), tui_stream::ts_filestream, tui_stream::ts_magic, tui_stream::ts_streamtype, tui_file_magic, tui_refresh_cmd_win(), and ui_file_data().
Definition at line 170 of file tui-file.c.
References astring, gdb_stdout, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_adjust_strbuf(), tui_puts(), tui_refresh_cmd_win(), and ui_file_data().
char* tui_file_get_strbuf | ( | struct ui_file * | file | ) |
Definition at line 190 of file tui-file.c.
References _, internal_error(), tui_stream::ts_magic, tui_stream::ts_strbuf, tui_file_magic, and ui_file_data().
Referenced by tui_disassemble(), tui_get_function_from_frame(), tui_make_status_line(), and tui_register_format().
Definition at line 122 of file tui-file.c.
References _, afile, internal_error(), tui_stream::ts_filestream, tui_stream::ts_magic, tui_stream::ts_streamtype, tui_file_magic, and ui_file_data().
|
static |
Definition at line 56 of file tui-file.c.
References set_ui_file_data(), set_ui_file_flush(), set_ui_file_fputs(), set_ui_file_isatty(), set_ui_file_put(), set_ui_file_rewind(), tui_stream::ts_magic, tui_file_delete, tui_file_flush, tui_file_fputs, tui_file_isatty, tui_file_magic, tui_file_put, tui_file_rewind, and ui_file_new().
Referenced by tui_fileopen(), and tui_sfileopen().
|
static |
Definition at line 147 of file tui-file.c.
References _, astring, internal_error(), tui_stream::ts_magic, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_magic, and ui_file_data().
|
static |
Definition at line 136 of file tui-file.c.
References _, internal_error(), tui_stream::ts_magic, tui_stream::ts_strbuf, tui_file_magic, and ui_file_data().
struct ui_file* tui_fileopen | ( | FILE * | stream | ) |
Definition at line 88 of file tui-file.c.
References afile, tui_stream::ts_buflen, tui_stream::ts_filestream, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_new(), and ui_file_data().
Referenced by tui_initialize_io().
Definition at line 101 of file tui-file.c.
References astring, tui_stream::ts_buflen, tui_stream::ts_filestream, tui_stream::ts_strbuf, tui_stream::ts_streamtype, tui_file_new(), ui_file_data(), and xmalloc().
Referenced by tui_disassemble(), tui_get_function_from_frame(), tui_make_status_line(), and tui_register_format().
|
static |
Definition at line 51 of file tui-file.c.
Referenced by tui_file_new().
|
static |
Definition at line 46 of file tui-file.c.
Referenced by tui_file_new().
ui_file_fputs_ftype tui_file_fputs |
Referenced by tui_file_new().
|
static |
Definition at line 48 of file tui-file.c.
Referenced by tui_file_new().
|
static |
Definition at line 53 of file tui-file.c.
Referenced by tui_file_adjust_strbuf(), tui_file_delete(), tui_file_flush(), tui_file_get_strbuf(), tui_file_isatty(), tui_file_new(), tui_file_put(), and tui_file_rewind().
|
static |
Definition at line 50 of file tui-file.c.
Referenced by tui_file_new().
|
static |
Definition at line 49 of file tui-file.c.
Referenced by tui_file_new().