GDB (xrefs)
|
#include "gdbsupport/common-defs.h"
#include "libiberty.h"
#include "gdbsupport/errors.h"
Go to the source code of this file.
Functions | |
void * | xmalloc (size_t size) |
void * | xrealloc (void *ptr, size_t size) |
void * | xcalloc (size_t number, size_t size) |
void | xmalloc_failed (size_t size) |
void * xcalloc | ( | size_t | number, |
size_t | size ) |
Definition at line 85 of file alloc.c.
References malloc_failure(), and size.
Referenced by allocate_dis_line_table(), allocate_dwo_file_hash_table(), allocate_dwo_unit_table(), allocate_dwp_loaded_cutus_table(), allocate_signatured_type_table(), allocate_type_unit_groups_table(), ambiguous_names_p(), compute_compunit_symtab_includes(), create_copied_types_hash(), create_demangled_names_hash(), create_quick_file_names_table(), completion_tracker::discard_completions(), cooked_index_shard::do_finalize(), dw_expand_symtabs_matching_file_matcher(), dwarf_decode_macros(), elf_gnu_ifunc_record_cache(), gdb_bfd_open(), gdbscm_create_eqable_gsmob_ptr_map(), gdbscm_initialize_smobs(), generate_c_for_variable_locations(), get_ada_pspace_data(), gnuv3_print_vtable(), handle_DW_AT_stmt_list(), linespec_state_constructor(), netbsd_nat::netbsd_thread_lister(), objfile_register_static_link(), register_solib_event_probe(), resize_symbol_cache(), set_die_type(), and typedef_hash_table::typedef_hash_table().
void * xmalloc | ( | size_t | size | ) |
Definition at line 48 of file alloc.c.
References malloc_failure(), and size.
void xmalloc_failed | ( | size_t | size | ) |
Definition at line 105 of file alloc.c.
References malloc_failure(), and size.
void * xrealloc | ( | void * | ptr, |
size_t | size ) |
Definition at line 65 of file alloc.c.
References malloc_failure(), and size.
Referenced by add_block(), add_new_header_file(), add_this_object_header_file(), add_undefined_type_1(), add_undefined_type_noname(), coff_lookup_type(), completion_list_objc_symbol(), create_new_language_dictionary(), dbx_lookup_type(), decoded_type_name(), find_methods(), growbuf_by_size(), macro_define_command(), my_write_child(), parse_partial_symbols(), pdc_realloc(), completion_tracker::recompute_lowest_common_denominator(), ref_add(), remote_fileio_resize_fd_map(), growable_macro_buffer::resize_buffer(), value::set_enclosing_type(), shrink_linetable(), specify_exec_file_hook(), substitute_path_component(), sync_threadlists(), target_fileio_read_alloc_1(), target_read_string(), xrealloc_for_gmp(), yylex(), and yyparse().