GDB (xrefs)
|
#include "defs.h"
#include "gdbsupport/gdb_obstack.h"
#include "block.h"
#include "symtab.h"
#include "language.h"
#include "varobj.h"
#include "go-lang.h"
#include "c-lang.h"
#include "parser-defs.h"
#include "gdbarch.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
const char * | go_main_name (void) |
static int | gccgo_string_p (struct type *type) |
static int | sixg_string_p (struct type *type) |
enum go_type | go_classify_struct_type (struct type *type) |
static void | unpack_package_and_object (char *buf, const char **packagep, const char **objectp) |
static gdb::unique_xmalloc_ptr< char > | unpack_mangled_go_symbol (const char *mangled_name, const char **packagep, const char **objectp, const char **method_type_packagep, const char **method_type_objectp, int *method_type_is_pointerp) |
gdb::unique_xmalloc_ptr< char > | go_symbol_package_name (const struct symbol *sym) |
gdb::unique_xmalloc_ptr< char > | go_block_package_name (const struct block *block) |
static struct builtin_go_type * | build_go_types (struct gdbarch *gdbarch) |
const struct builtin_go_type * | builtin_go_type (struct gdbarch *gdbarch) |
Variables | |
static const char | GO_MAIN_MAIN [] = "main.main" |
static go_language | go_language_defn |
static const registry< gdbarch >::key< struct builtin_go_type > | go_type_data |
|
static |
Definition at line 506 of file go-lang.c.
References builtin_go_type::builtin_bool, builtin_go_type::builtin_char, builtin_go_type::builtin_complex128, builtin_go_type::builtin_complex64, builtin_go_type::builtin_float32, builtin_go_type::builtin_float64, builtin_go_type(), builtin_go_type::builtin_int, builtin_go_type::builtin_int16, builtin_go_type::builtin_int32, builtin_go_type::builtin_int64, builtin_go_type::builtin_int8, builtin_type(), builtin_go_type::builtin_uint, builtin_go_type::builtin_uint16, builtin_go_type::builtin_uint32, builtin_go_type::builtin_uint64, builtin_go_type::builtin_uint8, builtin_go_type::builtin_uintptr, builtin_type::builtin_void, builtin_go_type::builtin_void, floatformats_ieee_double, floatformats_ieee_single, gdbarch_int_bit(), gdbarch_ptr_bit(), init_boolean_type(), init_character_type(), init_complex_type(), init_float_type(), and init_integer_type().
Referenced by builtin_go_type().
const struct builtin_go_type * builtin_go_type | ( | struct gdbarch * | gdbarch | ) |
Definition at line 553 of file go-lang.c.
References build_go_types(), registry< T >::get(), go_type_data, and registry< T >::set().
Referenced by build_go_types(), go_language::language_arch_info(), and parse_number().
|
static |
Definition at line 72 of file go-lang.c.
References check_typedef(), type::code(), type::field(), type::length(), field::name(), type::name(), type::num_fields(), type::target_type(), and field::type().
Referenced by go_classify_struct_type().
gdb::unique_xmalloc_ptr< char > go_block_package_name | ( | const struct block * | block | ) |
Definition at line 437 of file go-lang.c.
References block::function(), go_symbol_package_name(), and block::superblock().
Referenced by classify_name().
Definition at line 121 of file go-lang.c.
References check_typedef(), gccgo_string_p(), GO_TYPE_NONE, GO_TYPE_STRING, and sixg_string_p().
Referenced by go_language::is_string_type_p(), and go_language::value_print_inner().
const char * go_main_name | ( | void | ) |
Definition at line 56 of file go-lang.c.
References GO_MAIN_MAIN, lookup_minimal_symbol(), and bound_minimal_symbol::minsym.
Referenced by find_main_name().
gdb::unique_xmalloc_ptr< char > go_symbol_package_name | ( | const struct symbol * | sym | ) |
Definition at line 411 of file go-lang.c.
References general_symbol_info::language(), language_go, general_symbol_info::linkage_name(), and unpack_mangled_go_symbol().
Referenced by fixup_go_packaging(), and go_block_package_name().
|
static |
Definition at line 107 of file go-lang.c.
References type::name(), and type::num_fields().
Referenced by go_classify_struct_type().
|
static |
Definition at line 181 of file go-lang.c.
References unpack_package_and_object().
Referenced by go_language::demangle_symbol(), and go_symbol_package_name().
|
static |
Definition at line 140 of file go-lang.c.
Referenced by unpack_mangled_go_symbol().
|
static |
|
static |
Definition at line 48 of file go-lang.c.
Referenced by go_main_name().
|
static |
Definition at line 550 of file go-lang.c.
Referenced by builtin_go_type().