GDB (xrefs)
Functions | Variables
/tmp/gdb-8.1/gdb/ui-file.c File Reference
#include "defs.h"
#include "ui-file.h"
#include "gdb_obstack.h"
#include "gdb_select.h"
#include "filestuff.h"

Go to the source code of this file.

Functions

void gdb_flush (struct ui_file *file)
 
int ui_file_isatty (struct ui_file *file)
 
void ui_file_write (struct ui_file *file, const char *buf, long length_buf)
 
void ui_file_write_async_safe (struct ui_file *file, const char *buf, long length_buf)
 
long ui_file_read (struct ui_file *file, char *buf, long length_buf)
 
void fputs_unfiltered (const char *buf, struct ui_file *file)
 

Variables

null_file null_stream
 

Function Documentation

◆ fputs_unfiltered()

void fputs_unfiltered ( const char *  buf,
struct ui_file file 
)

Definition at line 127 of file ui-file.c.

References ui_file::puts().

Referenced by abort_with_message(), add_code_footer(), add_code_header(), ATTRIBUTE_PRINTF(), captured_main_1(), captured_mi_execute_command(), chain_candidate(), clear_complaints(), debug_always_non_stop_p(), debug_async(), debug_augmented_libraries_svr4_read(), debug_auxv_parse(), debug_btrace_conf(), debug_call_history(), debug_call_history_from(), debug_call_history_range(), debug_can_accel_watchpoint_condition(), debug_can_async_p(), debug_can_do_single_step(), debug_can_download_tracepoint(), debug_can_execute_reverse(), debug_can_run(), debug_can_run_breakpoint_commands(), debug_can_use_agent(), debug_can_use_hw_breakpoint(), debug_commit_resume(), debug_core_of_thread(), debug_delete_record(), debug_detach(), debug_disable_btrace(), debug_disable_tracepoint(), debug_disconnect(), debug_done_generating_core(), debug_download_trace_state_variable(), debug_download_tracepoint(), debug_enable_btrace(), debug_enable_tracepoint(), debug_execution_direction(), debug_extra_thread_info(), debug_fetch_registers(), debug_files_info(), debug_filesystem_is_local(), debug_find_memory_regions(), debug_flash_done(), debug_flash_erase(), debug_follow_exec(), debug_follow_fork(), debug_get_ada_task_ptid(), debug_get_bookmark(), debug_get_memory_xfer_limit(), debug_get_min_fast_tracepoint_insn_len(), debug_get_raw_trace_data(), debug_get_section_table(), debug_get_tailcall_unwinder(), debug_get_thread_local_address(), debug_get_tib_address(), debug_get_trace_state_variable_value(), debug_get_trace_status(), debug_get_tracepoint_status(), debug_get_unwinder(), debug_goto_bookmark(), debug_goto_record(), debug_goto_record_begin(), debug_goto_record_end(), debug_has_exited(), debug_info_record(), debug_insert_breakpoint(), debug_insert_exec_catchpoint(), debug_insert_fork_catchpoint(), debug_insert_hw_breakpoint(), debug_insert_mask_watchpoint(), debug_insert_vfork_catchpoint(), debug_insert_watchpoint(), debug_insn_history(), debug_insn_history_from(), debug_insn_history_range(), debug_interrupt(), debug_is_async_p(), debug_kill(), debug_load(), debug_log_command(), debug_make_corefile_notes(), debug_masked_watch_num_registers(), debug_memory_map(), debug_mourn_inferior(), debug_pass_ctrlc(), debug_pass_signals(), debug_pid_to_exec_file(), debug_pid_to_str(), debug_post_attach(), debug_post_startup_inferior(), debug_prepare_to_generate_core(), debug_prepare_to_store(), debug_program_signals(), debug_ranged_break_num_registers(), debug_rcmd(), debug_read_btrace(), debug_read_description(), debug_record_is_replaying(), debug_record_method(), debug_record_stop_replaying(), debug_record_will_replay(), debug_region_ok_for_hw_watchpoint(), debug_remove_breakpoint(), debug_remove_exec_catchpoint(), debug_remove_fork_catchpoint(), debug_remove_hw_breakpoint(), debug_remove_mask_watchpoint(), debug_remove_vfork_catchpoint(), debug_remove_watchpoint(), debug_resume(), debug_save_record(), debug_save_trace_data(), debug_search_memory(), debug_set_circular_trace_buffer(), debug_set_disconnected_tracing(), debug_set_permissions(), debug_set_syscall_catchpoint(), debug_set_trace_buffer_size(), debug_set_trace_notes(), debug_static_tracepoint_marker_at(), debug_stop(), debug_stop_recording(), debug_stopped_by_hw_breakpoint(), debug_stopped_by_sw_breakpoint(), debug_stopped_by_watchpoint(), debug_stopped_data_address(), debug_store_registers(), debug_supports_btrace(), debug_supports_enable_disable_tracepoint(), debug_supports_evaluation_of_breakpoint_conditions(), debug_supports_multi_process(), debug_supports_non_stop(), debug_supports_stopped_by_hw_breakpoint(), debug_supports_stopped_by_sw_breakpoint(), debug_supports_string_tracing(), debug_teardown_btrace(), debug_terminal_inferior(), debug_terminal_info(), debug_terminal_init(), debug_terminal_ours(), debug_terminal_ours_for_output(), debug_thread_address_space(), debug_thread_alive(), debug_thread_architecture(), debug_thread_events(), debug_thread_handle_to_thread_info(), debug_thread_name(), debug_trace_find(), debug_trace_init(), debug_trace_set_readonly_regions(), debug_trace_start(), debug_trace_stop(), debug_traceframe_info(), debug_update_thread_list(), debug_upload_trace_state_variables(), debug_upload_tracepoints(), debug_use_agent(), debug_verify_memory(), debug_wait(), debug_watchpoint_addr_within_range(), debug_xfer_partial(), displaced_step_dump_bytes(), display_gdb_prompt(), display_mi_prompt(), mi_ui_out::do_field_fmt(), do_serial_close(), dump_mem(), mi_console_file::flush(), fputs_maybe_filtered(), fputstr_unfiltered(), fputstrn_unfiltered(), gdb_os_write_stderr(), gdb_readline_no_editing(), generate_register_struct(), mi_cmd_gdb_exit(), mi_load_progress(), mi_on_normal_stop_1(), mi_on_resume_1(), mi_print_exception(), print_gdb_help(), print_i387_ext(), print_spaces(), print_subexp_standard(), puts_debug(), puts_unfiltered(), remote_console_output(), ser_base_read_error_fd(), serial_log_command(), serial_logchar(), target_debug_print_options(), target_debug_print_signals(), target_debug_print_struct_target_waitstatus_p(), target_xfer_partial(), vfprintf_unfiltered(), vwarning(), and wrap_here().

◆ gdb_flush()

void gdb_flush ( struct ui_file file)

Definition at line 93 of file ui-file.c.

References ui_file::flush().

Referenced by ada_print_scalar(), adi_print_versions(), ATTRIBUTE_PRINTF(), c_val_print(), captured_main_1(), command_line_input(), darwin_attach(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), display_gdb_prompt(), display_mi_prompt(), do_examine(), cli_ui_out::do_flush(), mi_ui_out::do_flush(), do_one_display(), dwarf2_read_symtab(), echo_command(), extended_remote_attach(), f_val_print(), mi_console_file::flush(), follow_exec(), gdb_disassembly(), gdb_flush_out_err(), gdb_os_flush_stderr(), gdb_os_flush_stdout(), gdb_readline_no_editing(), gdb_wait_for_event(), gdbpy_flush(), generic_val_print(), gnu_attach(), gnu_detach(), handle_command(), handle_inferior_event_1(), inf_ptrace_attach(), info_display_command(), info_mem_command(), ioscm_fill_input(), ioscm_flush(), m2_val_print(), mdebug_build_psymtabs(), mdebug_read_symtab(), mi_breakpoint_created(), mi_breakpoint_deleted(), mi_breakpoint_modified(), mi_cmd_gdb_exit(), mi_command_param_changed(), mi_inferior_added(), mi_inferior_appeared(), mi_inferior_exit(), mi_inferior_removed(), mi_load_progress(), mi_memory_changed(), mi_new_thread(), mi_on_normal_stop_1(), mi_on_resume_1(), mi_record_changed(), mi_solib_loaded(), mi_solib_unloaded(), mi_thread_exit(), mi_traceframe_changed(), mi_tsv_created(), mi_tsv_deleted(), mi_tsv_modified(), mi_user_selected_context_changed(), output_command_const(), pascal_val_print(), print_disassembly(), print_flush(), print_frame_info(), print_sys_errmsg(), print_type_scalar(), printf_command(), proceed(), procfs_attach(), procfs_detach(), procfs_set_exec_trap(), psymtab_to_symtab_1(), putpkt_binary(), stderr_file::puts(), read_command_lines(), remote_console_output(), remote_fileio_func_write(), report_initial_inferior(), require_partial_symbols(), serial_log_command(), serial_readchar(), serial_write(), shell_escape(), symbol_file_add_with_addrs(), target_announce_detach(), unwind_command(), val_print(), val_print_string(), vwarning(), windows_attach(), windows_detach(), stderr_file::write(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().

◆ ui_file_isatty()

int ui_file_isatty ( struct ui_file file)

Definition at line 99 of file ui-file.c.

References ui_file::isatty().

Referenced by tui_interp::init(), init_page_info(), and tui_enable().

◆ ui_file_read()

long ui_file_read ( struct ui_file file,
char *  buf,
long  length_buf 
)

Definition at line 121 of file ui-file.c.

References ui_file::read().

Referenced by ioscm_fill_input(), and remote_fileio_func_read().

◆ ui_file_write()

void ui_file_write ( struct ui_file file,
const char *  buf,
long  length_buf 
)

◆ ui_file_write_async_safe()

void ui_file_write_async_safe ( struct ui_file file,
const char *  buf,
long  length_buf 
)

Definition at line 113 of file ui-file.c.

References ui_file::write_async_safe().

Referenced by sigchld_handler().

Variable Documentation

◆ null_stream

null_file null_stream

Definition at line 28 of file ui-file.c.

Referenced by arc_disassemble_info(), gdb_insn_length(), and safe_parse_type().