diff options
Diffstat (limited to 'gdb/language.c')
| -rw-r--r-- | gdb/language.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gdb/language.c b/gdb/language.c index a8548a2..168b938 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1,6 +1,6 @@ /* Multiple source language support for GDB. - Copyright (C) 1991-2024 Free Software Foundation, Inc. + Copyright (C) 1991-2025 Free Software Foundation, Inc. Contributed by the Department of Computer Science at the State University of New York at Buffalo. @@ -28,7 +28,6 @@ return data out of a "language-specific" struct pointer that is set whenever the working language changes. That would be a lot faster. */ -#include <ctype.h> #include "symtab.h" #include "gdbtypes.h" #include "value.h" @@ -574,7 +573,7 @@ add_set_language_command () any non-NULL struct language_defn.skip_trampoline() functions. Return the result from the first that returns non-zero, or 0 if all `fail'. */ -CORE_ADDR +CORE_ADDR skip_language_trampoline (const frame_info_ptr &frame, CORE_ADDR pc) { for (const auto &lang : language_defn::languages) @@ -677,14 +676,6 @@ language_defn::is_string_type_p (struct type *type) const return c_is_string_type_p (type); } -/* See language.h. */ - -std::unique_ptr<compile_instance> -language_defn::get_compile_instance () const -{ - return {}; -} - /* The default implementation of the get_symbol_name_matcher_inner method from the language_defn class. Matches with strncmp_iw. */ @@ -984,7 +975,7 @@ language_arch_info::type_and_symbol::alloc_type_symbol symbol->set_section_index (0); symbol->set_type (type); symbol->set_domain (TYPE_DOMAIN); - symbol->set_aclass_index (LOC_TYPEDEF); + symbol->set_loc_class_index (LOC_TYPEDEF); return symbol; } @@ -1103,9 +1094,7 @@ language_lookup_primitive_type_as_symbol (const struct language_defn *la, /* Initialize the language routines. */ -void _initialize_language (); -void -_initialize_language () +INIT_GDB_FILE (language) { static const char *const type_or_range_names[] = { "on", "off", "warn", "auto", NULL }; |
