GDB (xrefs)
Enumerations | Functions | Variables
/tmp/gdb-7.10/gdb/utils.h File Reference
#include "exceptions.h"

Go to the source code of this file.

Enumerations

enum  resource_limit_kind { LIMIT_CUR, LIMIT_MAX }
 

Functions

void initialize_utils (void)
 
int strcmp_iw (const char *, const char *)
 
int strcmp_iw_ordered (const char *, const char *)
 
int streq (const char *, const char *)
 
int subset_compare (char *, char *)
 
int compare_positive_ints (const void *ap, const void *bp)
 
int compare_strings (const void *ap, const void *bp)
 
const char * gdb_bfd_errmsg (bfd_error_type error_tag, char **matching)
 
void reset_prompt_for_continue_wait_time (void)
 
struct timeval get_prompt_for_continue_wait_time (void)
 
int parse_pid_to_attach (const char *args)
 
int parse_escape (struct gdbarch *, const char **)
 
char ** gdb_buildargv (const char *)
 
struct cleanupmake_cleanup_freeargv (char **)
 
struct cleanupmake_cleanup_dyn_string_delete (struct dyn_string *)
 
struct cleanupmake_cleanup_ui_file_delete (struct ui_file *)
 
struct cleanupmake_cleanup_ui_out_redirect_pop (struct ui_out *uiout)
 
struct cleanupmake_cleanup_free_section_addr_info (struct section_addr_info *))
 
struct cleanupmake_cleanup_fclose (FILE *file)
 
struct cleanupmake_cleanup_bfd_unref (bfd *abfd)
 
struct cleanupmake_cleanup_obstack_free (struct obstack *obstack)
 
struct cleanupmake_cleanup_restore_integer (int *variable)
 
struct cleanupmake_cleanup_restore_uinteger (unsigned int *variable)
 
struct cleanupmake_cleanup_unpush_target (struct target_ops *ops)
 
struct cleanupmake_cleanup_restore_ui_file (struct ui_file **variable)
 
struct cleanupmake_cleanup_value_free_to_mark (struct value *)
 
struct cleanupmake_cleanup_value_free (struct value *)
 
struct cleanupmake_cleanup_free_so (struct so_list *so)
 
struct cleanupmake_cleanup_restore_current_language (void)
 
struct cleanupmake_cleanup_htab_delete (htab_t htab)
 
struct cleanupmake_cleanup_clear_parser_state (struct parser_state **p)
 
void free_current_contents (void *)
 
void init_page_info (void)
 
struct cleanupmake_cleanup_restore_page_info (void)
 
struct cleanupset_batch_flag_and_make_cleanup_restore_page_info (void)
 
struct cleanupmake_bpstat_clear_actions_cleanup (void)
 
char * gdb_realpath (const char *)
 
char * gdb_realpath_keepfile (const char *)
 
char * gdb_abspath (const char *)
 
int gdb_filename_fnmatch (const char *pattern, const char *string, int flags)
 
void substitute_path_component (char **stringp, const char *from, const char *to)
 
char * ldirname (const char *filename)
 
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 (char *)
 
void reinitialize_more_filter (void)
 
void set_screen_width_and_height (int width, int height)
 
void fputs_filtered (const char *, struct ui_file *)
 
void fputs_unfiltered (const char *, struct ui_file *)
 
int fputc_filtered (int c, struct ui_file *)
 
int fputc_unfiltered (int c, struct ui_file *)
 
int putchar_filtered (int c)
 
int putchar_unfiltered (int c)
 
void puts_filtered (const char *)
 
void puts_unfiltered (const char *)
 
void puts_filtered_tabular (char *string, int width, int right)
 
void puts_debug (char *prefix, char *string, char *suffix)
 
void vprintf_filtered (const char *, va_list) ATTRIBUTE_PRINTF(1
 
void void vfprintf_filtered (struct ui_file *, const char *, va_list) ATTRIBUTE_PRINTF(2
 
void void void fprintf_filtered (struct ui_file *, const char *,...) ATTRIBUTE_PRINTF(2
 
void void void void fprintfi_filtered (int, struct ui_file *, const char *,...) ATTRIBUTE_PRINTF(3
 
void void void void void printf_filtered (const char *,...) ATTRIBUTE_PRINTF(1
 
void void void void void void printfi_filtered (int, const char *,...) ATTRIBUTE_PRINTF(2
 
void void void void void void void vprintf_unfiltered (const char *, va_list) ATTRIBUTE_PRINTF(1
 
void void void void void void void void vfprintf_unfiltered (struct ui_file *, const char *, va_list) ATTRIBUTE_PRINTF(2
 
void void void void void void void void void fprintf_unfiltered (struct ui_file *, const char *,...) ATTRIBUTE_PRINTF(2
 
void void void void void void void void void void printf_unfiltered (const char *,...) ATTRIBUTE_PRINTF(1
 
void void void void void void void void void void void print_spaces (int, struct ui_file *)
 
void print_spaces_filtered (int, struct ui_file *)
 
char * n_spaces (int)
 
void fputstr_filtered (const char *str, int quotr, struct ui_file *stream)
 
void fputstr_unfiltered (const char *str, int quotr, struct ui_file *stream)
 
void fputstrn_filtered (const char *str, int n, int quotr, struct ui_file *stream)
 
void fputstrn_unfiltered (const char *str, int n, int quotr, struct ui_file *stream)
 
int filtered_printing_initialized (void)
 
void gdb_print_host_address (const void *addr, struct ui_file *stream)
 
const char * paddress (struct gdbarch *gdbarch, CORE_ADDR addr)
 
const char * print_core_address (struct gdbarch *gdbarch, CORE_ADDR address)
 
hashval_t core_addr_hash (const void *ap)
 
int core_addr_eq (const void *ap, const void *bp)
 
CORE_ADDR string_to_core_addr (const char *my_string)
 
void fprintf_symbol_filtered (struct ui_file *, const char *, enum language, int)
 
void throw_perror_with_name (enum errors errcode, const char *string) ATTRIBUTE_NORETURN
 
void perror_warning_with_name (const char *string)
 
void print_sys_errmsg (const char *, int)
 
void error_stream (struct ui_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 void * hashtab_obstack_allocate (void *data, size_t size, size_t count)
 
void dummy_obstack_deallocate (void *object, void *data)
 
int producer_is_gcc_ge_4 (const char *producer)
 
int producer_is_gcc (const char *producer, int *major, int *minor)
 
int myread (int, char *, int)
 
ULONGEST align_up (ULONGEST v, int n)
 
ULONGEST align_down (ULONGEST v, int n)
 
int can_dump_core (enum resource_limit_kind limit_kind)
 
void warn_cant_dump_core (const char *reason)
 
void dump_core (void)
 
char * make_hex_string (const gdb_byte *data, size_t length)
 

Variables

int sevenbit_strings
 
int pagination_enabled
 
struct ui_filegdb_stdout
 
struct ui_filegdb_stdin
 
struct ui_filegdb_stderr
 
struct ui_filegdb_stdlog
 
struct ui_filegdb_stdtarg
 
struct ui_filegdb_stdtargerr
 
struct ui_filegdb_stdtargin
 
void(* deprecated_error_begin_hook )(void)
 
char * warning_pre_print
 

Enumeration Type Documentation

Enumerator
LIMIT_CUR 
LIMIT_MAX 

Definition at line 345 of file utils.h.

Function Documentation

ULONGEST align_down ( ULONGEST  v,
int  n 
)
ULONGEST align_up ( ULONGEST  v,
int  n 
)
int int int void begin_line ( void  )

Definition at line 2016 of file utils.c.

References puts_filtered().

Referenced by ATTRIBUTE_PRINTF(), classes_info(), gdb_demangle(), gdbpy_print_stack(), and selectors_info().

int can_dump_core ( enum resource_limit_kind  limit_kind)

Definition at line 569 of file utils.c.

References LIMIT_CUR, and LIMIT_MAX.

Referenced by can_dump_core_warn(), and gdb_demangle().

int compare_positive_ints ( const void *  ap,
const void *  bp 
)
int compare_strings ( const void *  ap,
const void *  bp 
)

Definition at line 3056 of file utils.c.

Referenced by complete_command(), and uniquify_strings().

int core_addr_eq ( const void *  ap,
const void *  bp 
)
hashval_t core_addr_hash ( const void *  ap)
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 dummy_obstack_deallocate ( void *  object,
void *  data 
)
void dump_core ( void  )

Definition at line 552 of file utils.c.

Referenced by ATTRIBUTE_PRINTF(), and gdb_demangle_signal_handler().

void error_stream ( struct ui_file )
int filtered_printing_initialized ( void  )

Definition at line 1703 of file utils.c.

Referenced by ATTRIBUTE_PRINTF(), print_flush(), and vwarning().

void void void fprintf_filtered ( struct ui_file ,
const char *  ,
  ... 
)
void fprintf_symbol_filtered ( struct ui_file ,
const char *  ,
enum  language,
int   
)
void void void void void void void void void fprintf_unfiltered ( struct ui_file ,
const char *  ,
  ... 
)
void void void void fprintfi_filtered ( int  ,
struct ui_file ,
const char *  ,
  ... 
)
int fputc_filtered ( int  c,
struct ui_file  
)
int fputc_unfiltered ( int  c,
struct ui_file  
)
void fputs_filtered ( const char *  ,
struct ui_file  
)

Definition at line 2145 of file utils.c.

References fputs_maybe_filtered().

Referenced by ada_print_scalar(), ada_print_subexp(), ada_printchar(), ada_val_print_enum(), ada_val_print_num(), ada_val_print_ref(), address_info(), arm_print_float_info(), ax_print(), c_print_type(), c_printstr(), c_type_print_base(), c_type_print_template_args(), c_val_print(), cli_text(), cp_print_class_member(), cp_print_static_field(), cp_print_value(), cp_print_value_fields(), cp_type_print_derivation_info(), cp_type_print_method_args(), dbx_psymtab_to_symtab_1(), default_print_one_register_info(), describe_other_breakpoints(), do_examine(), do_show_command(), dump_die_shallow(), dump_msymbols(), dump_prefix_expression(), dump_psymtab(), dump_subexp_body_standard(), dump_symtab_1(), f_print_type(), f_printchar(), f_printstr(), f_type_print_base(), f_val_print(), fprintf_symbol_filtered(), fputc_filtered(), fputsn_filtered(), fputstr_filtered(), fputstrn_filtered(), frame_info(), generic_emit_char(), generic_printstr(), generic_val_print(), getpkt_or_notif_sane_1(), gnuv3_print_method_ptr(), go_print_type(), help_cmd(), help_list(), i387_print_float_info(), info_checkpoints_command(), java_print_type(), java_print_value_fields(), java_printchar(), java_type_print_base(), java_type_print_derivation_info(), java_val_print(), java_value_print(), jump_command(), list_arg_or_local(), list_overlays_command(), m2_emit_char(), m2_enum(), m2_long_set(), m2_print_type(), m2_printchar(), m2_printstr(), m2_procedure(), m2_record_fields(), m2_type_name(), m2_typedef(), m2_unbounded_array(), m2_val_print(), m32r_load(), m32r_load_section(), m32r_upload_command(), macro_expand_command(), macro_expand_once_command(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), mips_print_float_info(), mips_print_register(), mt_registers_info(), output_source_filename(), pascal_emit_char(), pascal_object_print_static_field(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_one_char(), pascal_print_func_args(), pascal_print_type(), pascal_printchar(), pascal_printstr(), pascal_type_print_base(), pascal_type_print_derivation_info(), pascal_type_print_method_args(), pascal_val_print(), ppscm_print_children(), ppscm_print_string_repr(), print_address(), print_address_demangle(), print_address_symbolic(), print_callback(), print_children(), print_decimal_floating(), print_doc_line(), print_enum_type(), print_exception(), print_field_values(), print_floating(), print_fpu_flags(), print_frame_arg(), print_func_type(), print_function_pointer_address(), print_go_string(), print_help_for_command(), print_hex_chars(), print_i387_control_word(), print_i387_ext(), print_i387_status_word(), print_longest(), print_macro_definition(), print_name_maybe_canonical(), print_octal_chars(), print_one_macro(), print_partial_symbols(), print_scalar_formatted(), print_spaces_filtered(), print_string_repr(), print_subexp_standard(), print_symbol(), print_symbol_info(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), printstr(), psymtab_to_symtab_1(), puts_filtered(), puts_filtered_tabular(), py_print_single_arg(), read_frame(), say_where(), sh64_do_fp_register(), sh64_do_register(), show_disable_randomization(), show_user_1(), target_command(), tui_make_status_line(), val_print_string(), val_print_type_code_flags(), valprint_check_validity(), and xcoff_psymtab_to_symtab_1().

void fputs_unfiltered ( const char *  ,
struct ui_file  
)

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

References ui_file::to_fputs.

Referenced by abort_with_message(), add_code_footer(), add_code_header(), ATTRIBUTE_PRINTF(), c_compute_program(), canonicalize_linespec(), captured_main(), captured_mi_execute_command(), chain_candidate(), clear_complaints(), compile_to_object(), 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_download_tracepoint(), debug_can_execute_reverse(), debug_can_run(), debug_can_run_breakpoint_commands(), debug_can_use_agent(), debug_can_use_hw_breakpoint(), debug_check_pending_interrupt(), 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_fork(), debug_get_ada_task_ptid(), debug_get_bookmark(), 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_is_async_p(), debug_kill(), debug_load(), debug_log_command(), debug_make_corefile_notes(), debug_masked_watch_num_registers(), debug_mourn_inferior(), 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_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_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(), do_serial_close(), dump_mem(), dwarf2_compute_name(), fputs_maybe_filtered(), fputstr_unfiltered(), fputstrn_unfiltered(), gdb_os_write_stderr(), gdb_readline(), generate_register_struct(), mi_cmd_execute(), mi_cmd_gdb_exit(), mi_command_loop(), mi_console_file_fputs(), mi_console_raw_packet(), mi_execute_command_input_handler(), mi_field_fmt(), mi_load_progress(), mi_on_normal_stop(), mi_on_resume(), mi_on_sync_execution_done(), mi_print_exception(), monitor_rcmd(), print_gdb_help(), print_i387_ext(), print_spaces(), print_subexp_standard(), puts_debug(), puts_unfiltered(), remote_console_output(), replace_typedefs_qualified_name(), 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(), tui_alloc_source_buffer(), vfprintf_unfiltered(), vwarning(), and wrap_here().

void fputstr_filtered ( const char *  str,
int  quotr,
struct ui_file stream 
)

Definition at line 1559 of file utils.c.

References fprintf_filtered(), fputs_filtered(), and printchar().

Referenced by do_show_command(), and print_packet().

void fputstr_unfiltered ( const char *  str,
int  quotr,
struct ui_file stream 
)

Definition at line 1566 of file utils.c.

References fprintf_unfiltered(), fputs_unfiltered(), and printchar().

Referenced by mi_cmd_execute(), mi_field_string(), and mi_print_exception().

void fputstrn_filtered ( const char *  str,
int  n,
int  quotr,
struct ui_file stream 
)

Definition at line 1573 of file utils.c.

References fprintf_filtered(), fputs_filtered(), and printchar().

void fputstrn_unfiltered ( const char *  str,
int  n,
int  quotr,
struct ui_file stream 
)

Definition at line 1583 of file utils.c.

References fprintf_unfiltered(), fputs_unfiltered(), and printchar().

Referenced by escape_buffer(), and mi_console_raw_packet().

void free_current_contents ( void *  )

Definition at line 476 of file utils.c.

References _, internal_error(), and xfree().

Referenced by ada_read_renaming_var_value(), agent_eval_command_one(), c_parse(), call_site_find_chain_1(), captured_mi_execute_command(), coff_symfile_read(), compute_enum_values(), dbx_read_symtab(), displaced_step_prepare(), display_gdb_prompt(), dtrace_build_arg_exprs(), dwarf2_add_member_fn(), elf_rel_plt_read(), elfstab_build_psymtabs(), encode_actions_1(), execute_control_command(), expand(), file_is_auto_load_safe(), find_command(), find_symbol_in_baseclass(), gather_arguments(), gdbpy_apply_val_pretty_printer(), info_macro_command(), info_macros_command(), init_if_undefined_command(), macro_define_command(), macro_expand_command(), macro_expand_once_command(), maintenance_print_type(), mi_cmd_data_evaluate_expression(), mi_cmd_trace_frame_collected(), mi_cmd_var_create(), mi_cmd_var_delete(), output_command_const(), parse_and_eval(), parse_and_eval_address(), parse_and_eval_long(), parse_find_args(), parse_to_comma_and_eval(), print_address_symbolic(), print_children(), print_command_1(), print_object_command(), print_string_repr(), print_variable_or_computed(), rbreak_command(), read_array_type(), read_pe_exported_syms(), read_pieced_value(), read_string(), remote_query_supported(), set_command(), simple_search_memory(), stap_parse_argument(), trace_dump_actions(), ui_printf(), validate_actionline(), varobj_value_get_print_value(), whatis_exp(), write_pieced_value(), x_command(), and xml_fetch_content_from_file().

char* gdb_abspath ( const char *  )
const char* gdb_bfd_errmsg ( bfd_error_type  error_tag,
char **  matching 
)

Definition at line 3069 of file utils.c.

References AMBIGUOUS_MESS1, AMBIGUOUS_MESS2, make_cleanup(), xfree(), and xmalloc().

Referenced by compile_object_load(), and exec_file_attach().

char** gdb_buildargv ( const char *  )
int gdb_filename_fnmatch ( const char *  pattern,
const char *  string,
int  flags 
)

Definition at line 3343 of file utils.c.

References gdb_assert.

Referenced by filename_is_in_pattern_1().

void gdb_print_host_address ( const void *  addr,
struct ui_file stream 
)
char* gdb_realpath ( const char *  )
char* gdb_realpath_keepfile ( const char *  )

Definition at line 2894 of file utils.c.

References gdb_realpath(), SLASH_STRING, and xfree().

Referenced by exec_file_attach().

struct timeval get_prompt_for_continue_wait_time ( void  )

Definition at line 1894 of file utils.c.

Referenced by report_command_stats().

void void void* hashtab_obstack_allocate ( void *  data,
size_t  size,
size_t  count 
)
void init_page_info ( void  )
void initialize_utils ( void  )
char* ldirname ( const char *  filename)
struct cleanup* make_bpstat_clear_actions_cleanup ( void  )
struct cleanup* make_cleanup_bfd_unref ( bfd *  abfd)
struct cleanup* make_cleanup_clear_parser_state ( struct parser_state **  p)
struct cleanup* make_cleanup_dyn_string_delete ( struct dyn_string *  )
struct cleanup* make_cleanup_fclose ( FILE *  file)
struct cleanup* make_cleanup_free_section_addr_info ( struct section_addr_info )
struct cleanup* make_cleanup_free_so ( struct so_list so)

Definition at line 422 of file utils.c.

References do_free_so(), and make_cleanup().

Referenced by svr4_read_so_list().

struct cleanup* make_cleanup_freeargv ( char **  )
struct cleanup* make_cleanup_htab_delete ( htab_t  htab)
struct cleanup* make_cleanup_obstack_free ( struct obstack *  obstack)
struct cleanup* make_cleanup_restore_current_language ( void  )
struct cleanup* make_cleanup_restore_integer ( int variable)
struct cleanup* make_cleanup_restore_page_info ( void  )
struct cleanup* make_cleanup_restore_ui_file ( struct ui_file **  variable)
struct cleanup* make_cleanup_restore_uinteger ( unsigned int variable)

Definition at line 307 of file utils.c.

References make_cleanup_restore_integer().

Referenced by make_cleanup_restore_page_info().

struct cleanup* make_cleanup_ui_file_delete ( struct ui_file )
struct cleanup* make_cleanup_ui_out_redirect_pop ( struct ui_out uiout)
struct cleanup* make_cleanup_unpush_target ( struct target_ops ops)

Definition at line 325 of file utils.c.

References do_unpush_target(), and make_cleanup().

Referenced by inf_ptrace_attach(), and inf_ptrace_create_inferior().

struct cleanup* make_cleanup_value_free ( struct value )

Definition at line 404 of file utils.c.

References do_value_free(), and make_cleanup().

Referenced by dwarf2_evaluate_loc_desc_full().

struct cleanup* make_cleanup_value_free_to_mark ( struct value )
char* make_hex_string ( const gdb_byte data,
size_t  length 
)

Definition at line 1114 of file utils.c.

References xmalloc(), and xsnprintf().

Referenced by objfpy_get_build_id().

int myread ( int  ,
char *  ,
int   
)

Definition at line 1079 of file utils.c.

References len, and read().

Referenced by find_source_lines().

char* n_spaces ( int  )
int int nquery ( const char *  ,
  ... 
)
const char* paddress ( struct gdbarch gdbarch,
CORE_ADDR  addr 
)

Definition at line 2743 of file utils.c.

References gdbarch_addr_bit(), hex_string(), and HOST_CHAR_BIT.

Referenced by aarch64_dump_tdep(), aarch64_process_record(), aarch64_push_dummy_call(), ada_val_print_num(), add_symbol_file_command(), add_vsyscall_page(), address_info(), alpha_heuristic_proc_start(), amd64_displaced_step_copy_insn(), amd64_displaced_step_fixup(), amd64_relocate_instruction(), amd64_windows_find_unwind_info(), amd64_windows_frame_decode_insns(), amd64_windows_frame_prev_register(), annotate_frame_begin(), annotate_source(), arm_analyze_prologue(), arm_displaced_init_closure(), arm_process_record(), arm_push_dummy_call(), arm_record_data_proc_misc_ld_str(), arm_record_extension_space(), arm_record_unsupported_insn(), ax_print(), bookmark_1(), c_val_print(), call_site_find_chain_1(), call_site_for_pc(), call_site_to_target_addr(), check_fast_tracepoint_sals(), compare_sections_command(), compile_object_load(), copy_sections(), create_thread_event_breakpoint(), darwin_debug_regions(), dcache_info_1(), dcache_print_line(), decode_insn(), describe_other_breakpoints(), displaced_step_fixup(), displaced_step_prepare(), displaced_step_restore(), display_one_tib(), dump_msymbols(), dump_psymtab(), dump_symtab_1(), dw2_find_pc_sect_compunit_symtab(), dwarf2_frame_cache(), dwarf2_restore_rule(), dwarf_expr_reg_to_entry_parameter(), dwarf_finish_line(), dwarf_record_line(), dwarf_record_line_1(), edit_command(), elf_gnu_ifunc_record_cache(), execute_cfa_program(), f_val_print(), fbsd_find_memory_regions(), filter_overlapping_sections(), finish_block_internal(), fixup_riprel(), fprint_target_auxv(), frame_info(), frame_unwind_register_value(), func_addr_to_tail_call_list(), func_verify_no_selftailcall(), gcore_copy_callback(), gcore_create_callback(), gdbsim_xfer_memory(), generic_load(), generic_val_print(), gnu_xfer_memory(), gnuv3_get_typename_from_type_info(), handle_inferior_event_1(), handle_signal_stop(), heuristic_proc_start(), hppa_frame_cache(), hppa_skip_trampoline_code(), i386_displaced_step_copy_insn(), i386_displaced_step_fixup(), i386_mpx_get_bt_entry(), i386_process_record(), i386_record_lea_modrm(), i386_relocate_instruction(), ia64_dummy_id(), ia64_frame_this_id(), ia64_memory_insert_breakpoint(), ia64_memory_remove_breakpoint(), ia64_sigtramp_frame_this_id(), info_cb(), info_checkpoints_command(), info_exceptions_command(), info_task(), init_breakpoint_sal(), insert_bp_location(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), java_value_print(), jit_bfd_try_read_symtab(), jit_breakpoint_re_set_internal(), jit_event_handler(), jit_read_descriptor(), jit_register_code(), jump_command(), linux_core_info_proc_mappings(), linux_info_proc(), list_command(), list_overlays_command(), lm_addr_check(), lm_info_read(), load_progress(), load_srec(), loclist_describe_location(), m32c_m16c_address_to_pointer(), m32r_insert_breakpoint(), m32r_insert_watchpoint(), m32r_load(), m32r_load_section(), m32r_remove_breakpoint(), m32r_remove_watchpoint(), m32r_upload_command(), m32r_xfer_memory(), macho_add_oso_symfile(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), make_srec(), mbpy_str(), memory_error_message(), merge_uploaded_tracepoints(), microblaze_analyze_prologue(), mips_check_lsi_error(), mips_common_breakpoint(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_show_dr(), monitor_error(), monitor_insert_breakpoint(), monitor_read_memory(), monitor_remove_breakpoint(), monitor_write_memory(), moxie_process_readu(), moxie_process_record(), nios2_analyze_prologue(), pascal_val_print(), ppc_displaced_step_fixup(), ppc_process_record(), ppc_process_record_op19(), ppc_process_record_op31(), ppc_process_record_op4(), ppc_process_record_op59(), ppc_process_record_op60(), ppc_process_record_op63(), print_address(), print_address_demangle(), print_disassembly(), print_function_pointer_address(), print_go_string(), print_mention_ranged_breakpoint(), print_one_vtable(), print_partial_symbols(), print_section_info(), print_symbol(), print_unpacked_pointer(), print_variable_at_address(), proceed(), process_event_stop_test(), process_psymtab_comp_unit_reader(), program_info(), psym_find_pc_sect_compunit_symtab(), pyuw_sniffer(), read_call_site_scope(), read_partial_die(), read_pieced_value(), record_full_arch_list_add_mem(), record_full_exec_insn(), record_full_restore(), record_full_save(), record_full_wait_1(), record_full_xfer_partial(), record_read_memory(), restore_section_callback(), resume(), resume_stopped_resumed_lwps(), s390_displaced_step_fixup(), save_bookmark_command(), say_where(), scope_info(), send_srec(), setup_sections(), should_be_inserted(), simple_displaced_step_copy_insn(), skip_function_command(), status_callback(), store_regs(), stub_gnu_ifunc_resolve_addr(), svr4_exec_displacement(), svr4_read_so_list(), tailcall_dump(), thumb_analyze_prologue(), thumb_record_misc(), tui_make_status_line(), value_fetch_lazy(), windows_xfer_shared_library(), and write_pieced_value().

int parse_escape ( struct gdbarch ,
const char **   
)

Definition at line 1421 of file utils.c.

References _, error(), host_char_to_target(), host_hex_value(), and target_charset().

Referenced by do_set_command(), echo_command(), and yylex().

int parse_pid_to_attach ( const char *  args)
void perror_warning_with_name ( const char *  string)

Definition at line 988 of file utils.c.

References _, perror_string(), warning(), and xfree().

Referenced by captured_main(), and source_script_with_search().

const char* print_core_address ( struct gdbarch gdbarch,
CORE_ADDR  address 
)
void void void void void void void void void void void print_spaces ( int  ,
struct ui_file  
)
void print_spaces_filtered ( int  ,
struct ui_file  
)
void print_sys_errmsg ( const char *  ,
int   
)
void void void void void printf_filtered ( const char *  ,
  ... 
)
void void void void void void void void void void printf_unfiltered ( const char *  ,
  ... 
)
void void void void void void printfi_filtered ( int  ,
const char *  ,
  ... 
)
int producer_is_gcc ( const char *  producer,
int major,
int minor 
)

Definition at line 3165 of file utils.c.

References min, and startswith().

Referenced by check_producer(), and producer_is_gcc_ge_4().

int producer_is_gcc_ge_4 ( const char *  producer)

Definition at line 3147 of file utils.c.

References INT_MAX, and producer_is_gcc().

Referenced by amd64_skip_xmm_prologue(), and process_full_comp_unit().

int putchar_filtered ( int  c)

Definition at line 2163 of file utils.c.

References fputc_filtered(), and gdb_stdout.

Referenced by info_checkpoints_command(), and info_common_command_for_block().

int putchar_unfiltered ( int  c)
void puts_debug ( char *  prefix,
char *  string,
char *  suffix 
)

Definition at line 2192 of file utils.c.

References fprintf_unfiltered(), fputc_unfiltered(), fputs_unfiltered(), and gdb_stdlog.

Referenced by load_srec(), and readchar().

void puts_filtered ( const char *  )
void puts_filtered_tabular ( char *  string,
int  width,
int  right 
)

Definition at line 1973 of file utils.c.

References fputs_filtered(), gdb_assert, gdb_stdout, and UINT_MAX.

Referenced by classes_info(), and selectors_info().

void puts_unfiltered ( const char *  )
int query ( const char *  ,
  ... 
)
void reinitialize_more_filter ( void  )
void reset_prompt_for_continue_wait_time ( void  )

Definition at line 1884 of file utils.c.

Referenced by make_command_stats_cleanup().

struct cleanup* set_batch_flag_and_make_cleanup_restore_page_info ( void  )
void set_screen_width_and_height ( int  width,
int  height 
)

Definition at line 1799 of file utils.c.

References set_screen_size(), and set_width().

Referenced by tui_update_gdb_sizes().

int strcmp_iw ( const char *  ,
const char *   
)
int strcmp_iw_ordered ( const char *  ,
const char *   
)
int streq ( const char *  ,
const char *   
)
CORE_ADDR string_to_core_addr ( const char *  my_string)

Definition at line 2803 of file utils.c.

References _, and error().

Referenced by mi_cmd_var_create().

int subset_compare ( char *  ,
char *   
)

Definition at line 2669 of file utils.c.

References startswith().

Referenced by backtrace_command(), tui_set_focus(), and tui_set_layout_by_name().

void substitute_path_component ( char **  stringp,
const char *  from,
const char *  to 
)

Definition at line 3226 of file utils.c.

References DIRNAME_SEPARATOR, string, and xrealloc().

Referenced by VEC().

void throw_perror_with_name ( enum errors  errcode,
const char *  string 
)

Definition at line 960 of file utils.c.

References _, make_cleanup(), perror_string(), throw_error(), and xfree().

Referenced by perror_with_name().

void void vfprintf_filtered ( struct ui_file ,
const char *  ,
va_list   
)
void void void void void void void void vfprintf_unfiltered ( struct ui_file ,
const char *  ,
va_list   
)
void vprintf_filtered ( const char *  ,
va_list   
)
void void void void void void void vprintf_unfiltered ( const char *  ,
va_list   
)
void warn_cant_dump_core ( const char *  reason)

Definition at line 596 of file utils.c.

References _, fprintf_unfiltered(), and gdb_stderr.

Referenced by can_dump_core_warn(), and gdb_demangle().

void wrap_here ( char *  )
int int int yquery ( const char *  ,
  ... 
)

Variable Documentation

void(* deprecated_error_begin_hook) (void)

Definition at line 82 of file utils.c.

Referenced by clear_interpreter_hooks(), and print_flush().

struct ui_file* gdb_stderr

Definition at line 72 of file main.c.

Referenced by _initialize_sol_thread(), abort_with_message(), ada_lookup_struct_elt_type(), add_language(), add_path(), annotate_error_begin(), arm_get_next_pc_raw(), arm_linux_copy_svc(), ATTRIBUTE_PRINTF(), avr_io_reg_read_command(), avr_scan_prologue(), captured_main(), catch_errors(), catch_exceptions_with_msg(), check_status_exception_catchpoint(), child_terminal_ours_1(), clear_complaints(), command_line_handler(), command_line_input(), core_open(), create_breakpoint(), cris_supply_gregset(), darwin_execvp(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), disable_current_display(), do_attach(), do_gdb_disassembly(), dos_close(), dos_setbaudrate(), dump_die_for_error(), dwarf2_build_psymtabs(), enable_breakpoint_disp(), execute_command_to_string(), fetch_register(), find_oload_champ(), follow_fork_inferior(), fork_inferior(), gdb_demangle(), gdb_disable_readline(), gdb_os_evprintf_filtered(), gdb_setup_readline(), gdb_wait_for_event(), gdb_xml_debug(), gdbpy_flush(), gdbpy_print_stack(), gdbpy_write(), gdbscm_execute_objfile_script(), gdbscm_source_objfile_script(), gdbsim_fetch_register(), get_core_registers(), handle_redirections(), hardwire_raw(), inf_ptrace_wait(), inferior_event_handler(), ioscm_fill_input(), ioscm_flush(), ioscm_with_output_to_port_worker(), ioscm_write(), keep_going(), libunwind_load(), linux_make_corefile_notes(), mep_gdbarch_init(), mi_interpreter_resume(), mips_check_lsi_error(), mips_common_breakpoint(), mips_eabi_return_value(), mips_error(), mips_expect_download(), mips_n32n64_return_value(), mips_o32_return_value(), mips_o64_return_value(), mips_xfer_register(), monitor_remove_breakpoint(), monitor_wait(), monitor_wait_filter(), monitor_write(), net_open(), parser_fprintf(), pmon_check_ack(), pmon_makeb64(), pop_all_targets_above(), pop_output_files(), print_callback(), print_children(), print_flush(), print_sys_errmsg(), procfs_pidlist(), procfs_set_exec_trap(), procfs_store_registers(), ps_plog(), push_target(), quit_force(), range_error(), rank_one_type(), read_dbx_symtab(), reload_shared_libraries_1(), remote_get_noisy_reply(), remote_get_trace_status(), rs6000_wait(), s390_remove_watchpoint(), safe_execute_command(), safe_parse_type(), save_gdb_index_command(), send_srec(), ser_base_read_error_fd(), set_logging_redirect(), shell_escape(), should_stop_exception(), skip_file_command(), skip_function_command(), solib_read_symbols(), solib_svr4_r_ldsomap(), solib_svr4_r_map(), start_event_loop(), store_register(), target_is_pushed(), thread_db_find_new_threads_silently(), tui_alloc_source_buffer(), tui_rl_switch_mode(), tui_setup_io(), update_solib_list(), varobj_create(), vwarning(), wait_for(), warn_cant_dump_core(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().

struct ui_file* gdb_stdin

Definition at line 74 of file main.c.

Referenced by captured_main(), and ioscm_fill_input().

struct ui_file* gdb_stdlog

Definition at line 73 of file main.c.

Referenced by aarch64_analyze_prologue(), aarch64_extract_return_value(), aarch64_handle_unaligned_watchpoint(), aarch64_linux_insert_hw_breakpoint(), aarch64_linux_insert_watchpoint(), aarch64_linux_prepare_to_resume(), aarch64_linux_remove_hw_breakpoint(), aarch64_linux_remove_watchpoint(), aarch64_push_dummy_call(), aarch64_record_asimd_load_store(), aarch64_record_data_proc_simd_fp(), aarch64_record_load_store(), aarch64_return_value(), aarch64_show_debug_reg_state(), aarch64_store_return_value(), add_file_name(), add_include_dir(), add_pe_exported_sym(), add_pe_forwarded_sym(), allocate_compunit_symtab(), allocate_psymtab(), allocate_symtab(), amd64_displaced_step_copy_insn(), amd64_displaced_step_fixup(), amd64_relocate_instruction(), amd64_windows_find_unwind_info(), amd64_windows_frame_decode_insns(), amd64_windows_frame_prev_register(), arm_analyze_prologue(), arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_b_bl_blx(), arm_copy_block_xfer(), arm_copy_bx_blx_reg(), arm_copy_copro_load_store(), arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), arm_copy_preload(), arm_copy_preload_reg(), arm_copy_svc(), arm_copy_undef(), arm_copy_unmodified(), arm_copy_unpred(), arm_displaced_init_closure(), arm_linux_cleanup_svc(), arm_linux_copy_svc(), arm_linux_displaced_step_copy_insn(), arm_pc_is_thumb(), arm_process_displaced_insn(), arm_process_record(), arm_push_dummy_call(), async_remote_interrupt(), async_remote_interrupt_twice(), attach_proc_task_lwp_callback(), auto_load_objfile_script(), auto_load_objfile_script_1(), auto_load_safe_path_vec_update(), bpstat_what(), build_table(), build_type_psymtabs_1(), captured_mi_execute_command(), chain_candidate(), check_binary_download(), check_stopped_by_breakpoint(), check_zombie_leaders(), cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_block_store_pc(), cleanup_svc(), clear_proceed_status_thread(), compile_object_load(), compile_to_object(), compute_frame_id(), context_switch(), convert_symbol_sym(), cp_lookup_nested_symbol(), cp_lookup_symbol_imports_or_template(), cp_lookup_symbol_namespace(), cp_lookup_symbol_nonlocal(), create_debug_types_hash_table(), create_dwo_cu(), create_dwo_cu_reader(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_new_frame(), create_sentinel_frame(), 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_download_tracepoint(), debug_can_execute_reverse(), debug_can_run(), debug_can_run_breakpoint_commands(), debug_can_use_agent(), debug_can_use_hw_breakpoint(), debug_check_pending_interrupt(), 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_fork(), debug_get_ada_task_ptid(), debug_get_bookmark(), 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_is_async_p(), debug_kill(), debug_load(), debug_log_command(), debug_make_corefile_notes(), debug_masked_watch_num_registers(), debug_mourn_inferior(), 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_print_register(), debug_program_signals(), debug_qf_dump(), debug_qf_expand_all_symtabs(), debug_qf_expand_symtabs_for_function(), debug_qf_expand_symtabs_matching(), debug_qf_expand_symtabs_with_fullname(), debug_qf_find_last_source_symtab(), debug_qf_find_pc_sect_compunit_symtab(), debug_qf_forget_cached_source_info(), debug_qf_has_symbols(), debug_qf_lookup_symbol(), debug_qf_map_matching_symbols(), debug_qf_map_symbol_filenames(), debug_qf_map_symtabs_matching_filename(), debug_qf_print_stats(), debug_qf_relocate(), debug_ranged_break_num_registers(), debug_rcmd(), debug_read_btrace(), debug_read_description(), debug_record_is_replaying(), debug_reg_change_callback(), 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_sym_finish(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_read(), debug_sym_read_linetable(), debug_sym_read_psymbols(), debug_sym_relocate(), 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_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_vprintf(), debug_wait(), debug_watchpoint_addr_within_range(), debug_xfer_partial(), decode_add_sub_imm(), decode_adrp(), decode_b(), decode_bcond(), decode_br(), decode_cb(), decode_eret(), decode_movz(), decode_orr_shifted_register_x(), decode_ret(), decode_stp_offset(), decode_stp_offset_wb(), decode_stur(), decode_tb(), detach_callback(), displaced_read_reg(), displaced_step_fixup(), displaced_step_prepare(), displaced_step_restore(), displaced_write_reg(), dsbt_current_sos(), dump_die(), dump_mem(), dwarf2_build_psymtabs_hard(), dwarf_finish_line(), dwarf_record_line(), dwarf_record_line_1(), elf_read_minimal_symbols(), enable_break(), enable_break2(), execute_command_to_string(), fetch_regs_kernel_thread(), fetch_regs_user_thread(), file_is_auto_load_safe(), filename_is_in_auto_load_safe_path_vec(), filename_is_in_pattern_1(), find_new_threads_callback(), find_new_threads_once(), find_unwind_entry(), fixup_riprel(), follow_fork_inferior(), frame_debug_got_null_frame(), frame_id_eq(), frame_id_inner(), frame_id_p(), frame_unwind_arch(), frame_unwind_pc(), frame_unwind_register_value(), frv_current_sos(), gcc_convert_symbol(), gcc_symbol_address(), gdb_cntrl_c(), gdb_disable_readline(), gdb_setup_readline(), gdbarch_addr_bit(), gdbarch_addr_bits_remove(), gdbarch_address_class_name_to_type_flags(), gdbarch_address_class_type_flags(), gdbarch_address_class_type_flags_to_name(), gdbarch_address_to_pointer(), gdbarch_addressable_memory_unit_size(), gdbarch_adjust_breakpoint_address(), gdbarch_adjust_dwarf2_addr(), gdbarch_adjust_dwarf2_line(), gdbarch_auto_charset(), gdbarch_auto_wide_charset(), gdbarch_auxv_parse(), gdbarch_ax_pseudo_register_collect(), gdbarch_ax_pseudo_register_push_stack(), gdbarch_believe_pcc_promotion(), gdbarch_bfd_arch_info(), gdbarch_bits_big_endian(), gdbarch_breakpoint_from_pc(), gdbarch_byte_order(), gdbarch_byte_order_for_code(), gdbarch_call_dummy_location(), gdbarch_cannot_fetch_register(), gdbarch_cannot_step_breakpoint(), gdbarch_cannot_store_register(), gdbarch_char_signed(), gdbarch_coff_make_msymbol_special(), gdbarch_convert_from_func_ptr_addr(), gdbarch_convert_register_p(), gdbarch_core_info_proc(), gdbarch_core_pid_to_str(), gdbarch_core_read_description(), gdbarch_core_xfer_shared_libraries(), gdbarch_core_xfer_shared_libraries_aix(), gdbarch_decr_pc_after_break(), gdbarch_deprecated_fp_regnum(), gdbarch_deprecated_function_start_offset(), gdbarch_displaced_step_copy_insn(), gdbarch_displaced_step_fixup(), gdbarch_displaced_step_free_closure(), gdbarch_displaced_step_hw_singlestep(), gdbarch_displaced_step_location(), gdbarch_double_bit(), gdbarch_double_format(), gdbarch_dtrace_disable_probe(), gdbarch_dtrace_enable_probe(), gdbarch_dtrace_parse_probe_argument(), gdbarch_dtrace_probe_is_enabled(), gdbarch_dummy_id(), gdbarch_dwarf2_addr_size(), gdbarch_dwarf2_reg_to_regnum(), gdbarch_ecoff_reg_to_regnum(), gdbarch_elf_make_msymbol_special(), gdbarch_elfcore_write_linux_prpsinfo(), gdbarch_fast_tracepoint_valid_at(), gdbarch_fetch_pointer_argument(), gdbarch_fetch_tls_load_module_address(), gdbarch_find_by_info(), gdbarch_find_memory_regions(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_fp0_regnum(), gdbarch_frame_align(), gdbarch_frame_args_skip(), gdbarch_frame_num_args(), gdbarch_frame_red_zone_size(), gdbarch_gcc_target_options(), gdbarch_gcore_bfd_target(), gdbarch_gdb_signal_from_target(), gdbarch_gdb_signal_to_target(), gdbarch_gen_return_address(), gdbarch_get_longjmp_target(), gdbarch_get_siginfo_type(), gdbarch_get_syscall_number(), gdbarch_gnu_triplet_regexp(), gdbarch_half_bit(), gdbarch_half_format(), gdbarch_has_dos_based_file_system(), gdbarch_has_global_breakpoints(), gdbarch_has_global_solist(), gdbarch_has_shared_address_space(), gdbarch_have_nonsteppable_watchpoint(), gdbarch_in_solib_return_trampoline(), gdbarch_infcall_mmap(), gdbarch_infcall_munmap(), gdbarch_info_proc(), gdbarch_inner_than(), gdbarch_insn_is_call(), gdbarch_insn_is_jump(), gdbarch_insn_is_ret(), gdbarch_int_bit(), gdbarch_integer_to_address(), gdbarch_iterate_over_objfiles_in_search_order(), gdbarch_iterate_over_regset_sections(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_align_bit(), gdbarch_long_long_bit(), gdbarch_make_corefile_notes(), gdbarch_make_symbol_special(), gdbarch_max_insn_length(), gdbarch_memory_insert_breakpoint(), gdbarch_memory_remove_breakpoint(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_osabi(), gdbarch_overlay_update(), gdbarch_pc_regnum(), gdbarch_pointer_to_address(), gdbarch_print_float_info(), gdbarch_print_insn(), gdbarch_print_registers_info(), gdbarch_print_vector_info(), gdbarch_process_record(), gdbarch_process_record_signal(), gdbarch_ps_regnum(), gdbarch_pseudo_register_read(), gdbarch_pseudo_register_read_value(), gdbarch_pseudo_register_write(), gdbarch_ptr_bit(), gdbarch_push_dummy_call(), gdbarch_push_dummy_code(), gdbarch_ravenscar_ops(), gdbarch_read_pc(), gdbarch_record_special_symbol(), gdbarch_register(), gdbarch_register_name(), gdbarch_register_reggroup_p(), gdbarch_register_sim_regno(), gdbarch_register_to_value(), gdbarch_register_type(), gdbarch_relocate_instruction(), gdbarch_remote_breakpoint_from_pc(), gdbarch_remote_register_number(), gdbarch_return_in_first_hidden_param_p(), gdbarch_return_value(), gdbarch_sdb_reg_to_regnum(), gdbarch_short_bit(), gdbarch_single_step_through_delay(), gdbarch_skip_entrypoint(), gdbarch_skip_main_prologue(), gdbarch_skip_permanent_breakpoint(), gdbarch_skip_prologue(), gdbarch_skip_solib_resolver(), gdbarch_skip_trampoline_code(), gdbarch_software_single_step(), gdbarch_sofun_address_maybe_missing(), gdbarch_solib_symbols_extension(), gdbarch_sp_regnum(), gdbarch_stab_reg_to_regnum(), gdbarch_stabs_argument_has_addr(), gdbarch_stack_frame_destroyed_p(), gdbarch_stap_gdb_register_prefix(), gdbarch_stap_gdb_register_suffix(), gdbarch_stap_integer_prefixes(), gdbarch_stap_integer_suffixes(), gdbarch_stap_is_single_operand(), gdbarch_stap_parse_special_token(), gdbarch_stap_register_indirection_prefixes(), gdbarch_stap_register_indirection_suffixes(), gdbarch_stap_register_prefixes(), gdbarch_stap_register_suffixes(), gdbarch_static_transform_name(), gdbarch_syscalls_info(), gdbarch_target_desc(), gdbarch_tdep(), gdbarch_unwind_pc(), gdbarch_unwind_sp(), gdbarch_update_p(), gdbarch_value_from_register(), gdbarch_value_to_register(), gdbarch_vbit_in_delta(), gdbarch_virtual_frame_pointer(), gdbarch_vsyscall_range(), gdbarch_vtable_function_descriptors(), gdbarch_write_pc(), gdbarch_xml_syscall_file(), gdbpy_flush(), gdbpy_write(), gdbsim_close(), gdbsim_create_inferior(), gdbsim_detach(), gdbsim_fetch_register(), gdbsim_files_info(), gdbsim_kill(), gdbsim_load(), gdbsim_mourn_inferior(), gdbsim_open(), gdbsim_resume_inferior(), gdbsim_store_register(), gdbsim_wait(), gdbsim_xfer_memory(), get_frame_func_if_available(), get_pending_status(), get_prev_frame_always_1(), get_prev_frame_if_no_cycle(), get_prev_frame_raw(), getpkt_or_notif_sane_1(), handle_inferior_event_1(), handle_notification(), handle_redirections(), handle_signal_stop(), handle_syscall_event(), handle_vfork_child_exec_or_exit(), hppa_fallback_frame_cache(), hppa_frame_cache(), i386_displaced_step_copy_insn(), i386_displaced_step_fixup(), i386_process_record(), i386_relocate_instruction(), ia64_dummy_id(), ia64_frame_this_id(), ia64_sigtramp_frame_this_id(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), install_minimal_symbols(), jit_bfd_try_read_symtab(), jit_breakpoint_re_set_internal(), jit_frame_sniffer(), jit_inferior_init(), jit_read_descriptor(), jit_reader_load(), jit_reader_try_read_symtab(), jit_register_code(), jit_unwind_reg_set_impl(), kill_callback(), kill_wait_callback(), language_lookup_primitive_type_as_symbol(), lin_lwp_attach_lwp(), linux_child_follow_fork(), linux_handle_extended_wait(), linux_handle_syscall_trap(), linux_nat_attach(), linux_nat_detach(), linux_nat_filter_event(), linux_nat_post_attach_wait(), linux_nat_resume(), linux_nat_stop_lwp(), linux_nat_wait(), linux_nat_wait_1(), linux_thread_alive(), lm_base(), lookup_dwo_cutu(), lookup_language_this(), lookup_minimal_symbol(), lookup_symbol_aux(), lookup_symbol_in_block(), lookup_symbol_in_objfile(), lookup_symbol_in_objfile_symtabs(), lookup_symbol_in_static_block(), lookup_symbol_via_quick_fns(), m32r_close(), m32r_create_inferior(), m32r_detach(), m32r_fetch_register(), m32r_insert_breakpoint(), m32r_insert_watchpoint(), m32r_kill(), m32r_mourn_inferior(), m32r_open(), m32r_prepare_to_store(), m32r_remove_breakpoint(), m32r_remove_watchpoint(), m32r_resume(), m32r_stop(), m32r_store_register(), m32r_wait(), m32r_xfer_memory(), maybe_clear_ignore_sigint(), mi_cmd_var_create(), mi_interpreter_resume(), mips_eabi_push_dummy_call(), mips_expect_timeout(), mips_gdbarch_init(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_readchar(), mips_receive_packet(), mips_send_packet(), mips_xfer_register(), monitor_debug(), monitor_expect(), monitor_interrupt(), monitor_printf(), monitor_printf_noecho(), monitor_read_memory(), moxie_process_record(), nios2_analyze_prologue(), open_and_init_dwo_file(), open_and_init_dwp_file(), open_target(), packet_ok(), parse_exp_in_context_1(), pass_in_v(), pass_in_x(), pass_on_stack(), pdc_alloc(), pdc_dealloc(), pdc_read_data(), pdc_read_regs(), pdc_realloc(), pdc_symbol_addrs(), pdc_write_data(), pdc_write_regs(), pop_output_files(), ppc_displaced_step_fixup(), ppc_process_record(), ppc_process_record_op19(), ppc_process_record_op31(), ppc_process_record_op4(), ppc_process_record_op59(), ppc_process_record_op60(), ppc_process_record_op63(), prepare_for_detach(), prepare_to_wait(), print_target_wait_results(), print_tu_stats(), proceed(), proceed_after_vfork_done(), process_event_stop_test(), process_psymtab_comp_unit_reader(), process_queue(), ptrace_check(), push_stop_reply(), putpkt_binary(), puts_debug(), pyuw_this_id(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_die_and_siblings(), read_frame(), read_full_die(), read_pe_exported_syms(), record_full_arch_list_add(), record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), record_full_close(), record_full_core_kill(), record_full_exec_insn(), record_full_get_bookmark(), record_full_goto_bookmark(), record_full_open(), record_full_open_1(), record_full_restore(), record_full_save(), record_full_sig_handler(), record_full_wait_1(), record_full_xfer_partial(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), reinit_frame_cache(), remote_hostio_pread(), remote_notif_ack(), remote_notif_get_pending_events(), remote_notif_parse(), remote_notif_remove_queued_reply(), remote_stop(), reschedule(), resume(), resume_lwp(), resume_stopped_resumed_lwps(), s390_displaced_step_fixup(), sdireset_command(), sdistatus_command(), select_event_lwp(), send_g_packet(), ser_base_async(), serial_readchar(), serial_write(), set_logging_redirect(), setup_sections(), should_be_inserted(), sigchld_handler(), simple_displaced_step_copy_insn(), solib_aix_free_library_list(), solib_aix_free_so(), solib_aix_get_toc_value(), stap_parse_probe_arguments(), status_callback(), stop_and_resume_callback(), stop_callback(), stop_wait_callback(), stop_waiting(), store_regs_kernel_thread(), store_regs_user_thread(), switch_back_to_stepped_thread(), symbol_cache_lookup(), tailcall_dump(), target_close(), target_debug_print_options(), target_debug_print_signals(), target_debug_print_struct_target_waitstatus_p(), target_fileio_close(), target_fileio_fstat(), target_fileio_open_1(), target_fileio_pread(), target_fileio_pwrite(), target_fileio_readlink(), target_fileio_unlink(), target_info_proc(), target_xfer_partial(), thread_db_find_new_threads_silently(), thread_db_load_search(), thumb2_copy_alu_imm(), thumb2_copy_b_bl_blx(), thumb2_copy_block_xfer(), thumb2_copy_copro_load_store(), thumb2_copy_load_literal(), thumb2_copy_load_reg_imm(), thumb2_copy_preload(), thumb2_copy_table_branch(), thumb_32bit_copy_undef(), thumb_analyze_prologue(), thumb_copy_16bit_ldr_literal(), thumb_copy_alu_reg(), thumb_copy_b(), thumb_copy_bx_blx_reg(), thumb_copy_cbnz_cbz(), thumb_copy_pc_relative_32bit(), thumb_copy_pop_pc_16bit(), thumb_copy_svc(), thumb_copy_unmodified_16bit(), thumb_copy_unmodified_32bit(), thumb_decode_pc_relative_16bit(), thumb_process_displaced_insn(), try_thread_db_load(), try_thread_db_load_1(), tui_setup_io(), uninstall_variable(), value_fetch_lazy(), VEC(), vfprintf_unfiltered(), wait_for_inferior(), wait_lwp(), and xtensa_push_dummy_call().

struct ui_file* gdb_stdout

Definition at line 71 of file main.c.

Referenced by _initialize_cli_interp(), ada_lookup_struct_elt_type(), address_info(), agent_eval_command_one(), append_command(), apropos_command(), args_info(), ATTRIBUTE_PRINTF(), backtrace_command_1(), binary_append_command(), binary_dump_command(), call_site_find_chain(), child_terminal_info(), cli_interpreter_exec(), cli_interpreter_resume(), cmd_set_record_btrace_bts(), cmd_set_record_btrace_pt(), cmd_show_replay_memory_access(), command_line_handler(), command_line_input(), darwin_attach(), darwin_detach(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), deprecated_show_value_hack(), describe_other_breakpoints(), display_gdb_prompt(), display_info(), do_examine(), do_one_display(), do_show_command(), dump_command(), dump_fn_fieldlists(), dump_objfile(), dwarf2_evaluate_loc_desc_full(), dwarf2_read_symtab(), dwarf2_tailcall_sniffer_first(), echo_command(), execute_command_to_string(), extended_remote_attach(), fbsd_find_memory_regions(), find_command(), finish_command_continuation(), float_info(), follow_exec(), fork_inferior(), fputs_maybe_filtered(), frame_info(), gcore_command(), gcore_create_callback(), gdb_disable_readline(), gdb_disassembly(), gdb_os_printf_filtered(), gdb_os_vprintf_filtered(), gdb_readline(), gdb_setup_readline(), gdb_wait_for_event(), gdbpy_flush(), gdbpy_write(), generic_load(), get_set_value(), gnu_attach(), gnu_detach(), go32_info_dos_command(), handle_command(), handle_inferior_event_1(), handle_redirections(), help_command(), ihex_dump_command(), inf_ptrace_attach(), inf_ptrace_detach(), info_auxv_command(), info_checkpoints_command(), info_command(), info_common_command_for_block(), info_guile_command(), info_macro_command(), info_spu_command(), info_w32_command(), init_page_info(), insert_bp_location(), ioscm_fill_input(), ioscm_flush(), ioscm_with_output_to_port_worker(), ioscm_write(), jump_command(), line_info(), list_overlays_command(), load_srec(), locals_info(), m2_printstr(), m32r_load(), m32r_load_section(), m32r_upload_command(), macro_command(), macro_expand_command(), macro_expand_once_command(), maint_agent_printf_command(), maint_btrace_cmd(), maint_btrace_pt_set_cmd(), maint_btrace_pt_show_cmd(), maint_btrace_set_cmd(), maint_btrace_show_cmd(), maint_cplus_command(), maint_set_ada_cmd(), maintenance_check_psymtabs(), maintenance_command(), maintenance_info_command(), maintenance_info_psymtabs(), maintenance_print_architecture(), maintenance_print_command(), maintenance_print_dummy_frames(), maintenance_print_reggroups(), maintenance_print_user_registers(), maintenance_set_cmd(), mdebug_build_psymtabs(), mdebug_read_symtab(), mem_info_command(), mi_execute_cli_command(), mi_interpreter_init(), mi_interpreter_resume(), mips_error(), mips_load_srec(), mips_xfer_memory(), output_command_const(), output_source_filename(), overlay_command(), pascm_set_func(), pmon_load_fast(), pop_output_files(), print_cplus_stuff(), print_disassembly(), print_flush(), print_frame(), print_frame_arg_vars(), print_frame_info(), print_macro_definition(), print_one_macro(), print_one_vtable(), print_packet(), print_symbol_info(), print_sys_errmsg(), print_value(), printf_command(), printf_filtered(), printf_unfiltered(), printfi_filtered(), proceed(), procfs_attach(), procfs_detach(), psym_dump(), psymtab_to_symtab_1(), putchar_filtered(), putchar_unfiltered(), puts_filtered(), puts_filtered_tabular(), puts_unfiltered(), read_command_lines(), recursive_dump_type(), regcache_print(), registers_info(), remote_command(), remote_detach_1(), require_partial_symbols(), save_command(), say_where(), scope_info(), serial_set_cmd(), set_ada_command(), set_architecture(), set_arm_command(), set_backtrace_cmd(), set_check(), set_dcache_command(), set_debug(), set_dwarf_cmd(), set_endian(), set_guile_command(), set_history(), set_logging_off(), set_logging_redirect(), set_mips_command(), set_mpx_cmd(), set_powerpc_command(), set_print(), set_print_raw(), set_print_type(), set_ravenscar_command(), set_record_command(), set_record_full_command(), set_remote_cmd(), set_sh_command(), set_spu_command(), set_tcp_cmd(), set_tdesc_cmd(), show_case_command(), show_configuration(), show_convenience(), show_inferior_tty_command(), show_language_command(), show_mips_command(), show_pp_source_pos(), show_range_command(), show_sh_command(), show_spu_command(), show_tcp_cmd(), show_user(), show_user_1(), show_values(), show_version(), srec_dump_command(), symbol_file_add_with_addrs(), target_command(), tekhex_dump_command(), trace_find_line_command(), try_thread_db_load_1(), tui_command(), tui_enable(), tui_file_flush(), tui_file_fputs(), tui_init(), tui_initialize_io(), tui_register_format(), tui_restore_gdbout(), tui_resume(), tui_setup_io(), unset_command(), unset_tdesc_cmd(), unwind_command(), user_select_syms(), user_set_python(), vector_info(), verilog_dump_command(), vprintf_filtered(), vprintf_unfiltered(), vwarning(), whatis_exp(), windows_attach(), windows_detach(), wrap_here(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().

struct ui_file* gdb_stdtarg
struct ui_file* gdb_stdtargerr
struct ui_file* gdb_stdtargin

Definition at line 76 of file main.c.

Referenced by remote_fileio_func_read().

int pagination_enabled
int sevenbit_strings
char* warning_pre_print

Definition at line 141 of file utils.c.

Referenced by captured_main(), and vwarning().