diff options
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/language.c b/gdb/language.c index 6ab0ca3..ed85035 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1051,7 +1051,7 @@ language_alloc_type_symbol (enum language lang, struct type *type) symbol = new (gdbarch_obstack (gdbarch)) struct symbol (); symbol->name = TYPE_NAME (type); - symbol->language = lang; + symbol_set_language (symbol, lang, nullptr); symbol->owner.arch = gdbarch; SYMBOL_OBJFILE_OWNED (symbol) = 0; SYMBOL_TYPE (symbol) = type; |