|
GDB (xrefs)
|
Go to the source code of this file.
Macros | |
| #define | NUMCELLS 16 |
Functions | |
| char * | get_print_cell (void) |
| static char * | decimal2str (const char *sign, ULONGEST addr, int width) |
| static char * | octal2str (ULONGEST addr, int width) |
| char * | pulongest (ULONGEST u) |
| char * | plongest (LONGEST l) |
| char * | phex (ULONGEST l, int sizeof_l) |
| char * | phex_nz (ULONGEST l, int sizeof_l) |
| char * | hex_string (LONGEST num) |
| char * | hex_string_custom (LONGEST num, int width) |
| char * | int_string (LONGEST val, int radix, int is_signed, int width, int use_c_format) |
| const char * | core_addr_to_string (const CORE_ADDR addr) |
| const char * | core_addr_to_string_nz (const CORE_ADDR addr) |
| const char * | host_address_to_string_1 (const void *addr) |
Variables | |
| static int | thirty_two = 32 |
| #define NUMCELLS 16 |
Definition at line 25 of file print-utils.c.
Referenced by get_print_cell().
| const char* core_addr_to_string | ( | const CORE_ADDR | addr | ) |
Definition at line 295 of file print-utils.c.
References get_print_cell(), and phex().
Referenced by c_watch_location_expression(), compile_probe_arg(), compute_probe_arg(), convert_address_location_to_sals(), darwin_read_write_inferior(), darwin_xfer_partial(), do_compile_dwarf_expr_to_c(), event_location_to_string(), maintenance_print_one_line_table(), rs6000_aix_shared_library_to_xml(), rust_watch_location_expression(), solib_aix_get_toc_value(), and windows_xfer_memory().
| const char* core_addr_to_string_nz | ( | const CORE_ADDR | addr | ) |
Definition at line 307 of file print-utils.c.
References get_print_cell(), and phex_nz().
Referenced by aarch64_analyze_prologue(), aarch64_decode_adr(), aarch64_decode_b(), aarch64_decode_bcond(), aarch64_decode_cb(), aarch64_decode_ldr_literal(), aarch64_decode_tb(), aarch64_handle_unaligned_watchpoint(), aarch64_show_debug_reg_state(), btrace_compute_ftrace_bts(), btrace_maint_print_packets(), btrace_stitch_bts(), regcache::debug_print_register(), ftrace_print_insn_addr(), ftrace_update_function(), gdbarch_dump(), pending_framepy_str(), record_btrace_frame_prev_register(), record_btrace_frame_this_id(), and target_xfer_partial().
|
static |
Definition at line 41 of file print-utils.c.
References _, get_print_cell(), internal_error(), PRINT_CELL_SIZE, and xsnprintf().
Referenced by int_string(), plongest(), and pulongest().
| char* get_print_cell | ( | void | ) |
Definition at line 30 of file print-utils.c.
References NUMCELLS, and PRINT_CELL_SIZE.
Referenced by convert_ast_to_expression(), core_addr_to_string(), core_addr_to_string_nz(), decimal2str(), hex_string(), hex_string_custom(), host_address_to_string_1(), octal2str(), phex(), phex_nz(), and print_thread_id().
| char* hex_string | ( | LONGEST | num | ) |
Definition at line 220 of file print-utils.c.
References get_print_cell(), phex_nz(), PRINT_CELL_SIZE, and xsnprintf().
Referenced by amd64_relocate_instruction(), append_ocl_sos(), bkscm_print_block_smob(), create_addrmap_from_index(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwo_cu_reader(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_new_frame(), create_tracepoint_from_upload(), debug_qf_find_compunit_symtab_by_address(), debug_qf_find_pc_sect_compunit_symtab(), do_compile_dwarf_expr_to_c(), dump_die_shallow(), dump_subexp_body_standard(), find_unwind_entry(), flash_erase_command(), follow_die_sig(), fprint_field(), fprint_frame(), fprint_frame_id(), frame_unwind_pc(), gdbscm_memory_port_print(), get_frame_func_if_available(), get_function_name(), get_signatured_type(), go32_pte_for_address(), i386_relocate_instruction(), info_scope_command(), int_string(), linux_core_info_proc_mappings(), linux_infcall_munmap(), linux_info_proc(), load_progress(), lookup_dwo_cutu(), lsscm_print_lazy_string_smob(), maintenance_translate_address(), make_blockvector(), mi_cmd_var_create(), mi_memory_changed(), paddress(), parse_partial_symbols(), pdc_read_data(), pdc_read_regs(), pdc_symbol_addrs(), pdc_write_data(), pdc_write_regs(), print_symbol(), process_one_symbol(), process_queue(), push(), pushf_register(), read_attribute_value(), read_cutu_die_from_dwo(), read_dbx_symtab(), remote_parse_stop_reply(), rs6000_ptrace64(), simple_search_memory(), spu_current_sos(), and unwind_command().
| char* hex_string_custom | ( | LONGEST | num, |
| int | width | ||
| ) |
Definition at line 231 of file print-utils.c.
References _, get_print_cell(), internal_error(), memset(), phex_nz(), and PRINT_CELL_SIZE.
Referenced by breakpoint_adjustment_warning(), dsbt_current_sos(), enable_break(), enable_break2(), frv_current_sos(), i387_print_float_info(), info_mem_command(), int_string(), lm_base(), maint_print_section_info(), print_core_address(), print_i387_control_word(), print_i387_status_word(), print_msymbol_info(), and print_section_info().
| const char* host_address_to_string_1 | ( | const void * | addr | ) |
Definition at line 319 of file print-utils.c.
References get_print_cell(), phex_nz(), PRINT_CELL_SIZE, and xsnprintf().
| char* int_string | ( | LONGEST | val, |
| int | radix, | ||
| int | is_signed, | ||
| int | width, | ||
| int | use_c_format | ||
| ) |
Definition at line 253 of file print-utils.c.
References _, decimal2str(), hex_string(), hex_string_custom(), internal_error(), and octal2str().
Referenced by ada_print_type(), c_describe_child(), mi_inferior_exit(), print_longest(), and print_one_inferior().
|
static |
Definition at line 84 of file print-utils.c.
References _, get_print_cell(), internal_error(), PRINT_CELL_SIZE, and xsnprintf().
Referenced by int_string().
| char* phex | ( | ULONGEST | l, |
| int | sizeof_l | ||
| ) |
Definition at line 151 of file print-utils.c.
References get_print_cell(), phex(), PRINT_CELL_SIZE, thirty_two, and xsnprintf().
Referenced by arc_extract_return_value(), arc_store_return_value(), arc_write_pc(), arm_push_dummy_call(), core_addr_to_string(), debug_reg_change_callback(), display_one_tib(), h8300_print_register(), info_spu_dma_cmdlist(), info_spu_dma_command(), info_spu_event_command(), info_spu_mailbox_list(), info_spu_proxydma_command(), info_spu_signal_command(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), pass_in_x(), phex(), procfs_meminfo(), remote_download_trace_state_variable(), remote_flash_erase(), and x86_show_dr().
| char* phex_nz | ( | ULONGEST | l, |
| int | sizeof_l | ||
| ) |
Definition at line 182 of file print-utils.c.
References get_print_cell(), gdb.printer.bound_registers::long, phex_nz(), PRINT_CELL_SIZE, thirty_two, and xsnprintf().
Referenced by append_resumption(), core_addr_to_string_nz(), disassemble_dwarf_expression(), encode_source_string(), hex_string(), hex_string_custom(), host_address_to_string_1(), info_spu_dma_command(), info_spu_event_command(), info_spu_proxydma_command(), info_spu_signal_command(), locexpr_describe_location_piece(), phex_nz(), record_full_restore(), record_full_save(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), remote_check_symbols(), remote_get_tracepoint_status(), remote_read_qxfer(), remote_search_memory(), remote_trace_find(), remote_write_qxfer(), solist_update_incremental(), spu_pseudo_register_write_spu(), store_register_using_P(), collection_list::stringify(), tfile_write_status(), tfile_write_uploaded_tp(), and tfile_write_uploaded_tsv().
| char* plongest | ( | LONGEST | l | ) |
Definition at line 137 of file print-utils.c.
References decimal2str().
Referenced by aarch64_linux_syscall_record(), arc_insn_dump(), arc_print_frame_cache(), arm_linux_syscall_record(), c_type_print_base_1(), c_type_print_varspec_suffix(), collection_list::collect_symbol(), create_addrmap_from_aranges(), regcache::debug_print_register(), debug_qf_map_matching_symbols(), disassemble_dwarf_expression(), do_compile_dwarf_expr_to_c(), do_set_command(), dump_die_shallow(), dump_subexp_body_standard(), fprint_auxv_entry(), gcore_copy_callback(), gcore_create_callback(), gdbarch_dump(), i386_linux_intx80_sysenter_syscall_record(), i386_mpx_print_bounds(), info_scope_command(), locexpr_describe_location_piece(), m2_enum(), memory_error_message(), mi_tsv_created(), mi_tsv_modified(), modify_field(), output_thread_groups(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), print_enum_type(), print_exited_reason(), print_go_string(), print_symbol(), read_comp_unit_head(), read_debug_names_from_section(), recursive_dump_type(), rust_print_type(), s390_displaced_step_copy_insn(), s390_linux_syscall_record(), save_trace_state_variables(), signal_to_name_or_int(), simple_search_memory(), target_xfer_partial(), trace_variable_command(), tvariables_info_1(), and validate_actionline().
| char* pulongest | ( | ULONGEST | u | ) |
Definition at line 129 of file print-utils.c.
References decimal2str().
Referenced by amd64_linux_syscall_record_common(), arc_insn_dump(), c_print_token(), create_addrmap_from_aranges(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_dwp_hash_table(), darwin_read_write_inferior(), darwin_xfer_partial(), disassemble_dwarf_expression(), dump_die_shallow(), gdbsim_xfer_memory(), gnu_xfer_auxv(), gnu_xfer_memory(), jit_bfd_try_read_symtab(), jit_register_code(), linux_infcall_mmap(), linux_infcall_munmap(), linux_info_proc(), locexpr_describe_location_1(), maintenance_translate_address(), mbpy_str(), mnsh_recv_message(), mnsh_send_message(), dw2_debug_names_iterator::next(), open_and_init_dwp_file(), print_label(), print_objfile_statistics(), read_debug_names_from_section(), read_formatted_entries(), record_full_get_bookmark(), record_full_goto_entry(), record_full_info(), record_linux_system_call(), remote_hostio_pread(), rs6000_aix_shared_library_to_xml(), simple_search_memory(), store_regs(), target_fileio_pread(), target_fileio_pwrite(), target_xfer_partial(), tdesc_start_enum(), tdesc_start_enum_value(), tdesc_start_field(), tdesc_start_flags(), tdesc_start_struct(), tdesc_start_vector(), throw_bad_regnum_error(), and windows_xfer_memory().
|
static |
Definition at line 146 of file print-utils.c.
1.8.14