X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Frust-exp.y;h=3ab9e26246c2f8bd4e56f0e5151367d100c3909a;hb=54a01e885b23df89e7e1e1585e896e0b7c53cf1d;hp=60ce2cde057f21e64d6c357e1f4c981bdc964814;hpb=0cf9feb996cb32939840b13073a49310b1fd71e0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y index 60ce2cde05..3ab9e26246 100644 --- a/gdb/rust-exp.y +++ b/gdb/rust-exp.y @@ -1,5 +1,5 @@ /* Bison parser for Rust expressions, for GDB. - Copyright (C) 2016-2019 Free Software Foundation, Inc. + Copyright (C) 2016-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -40,7 +40,6 @@ #include "parser-defs.h" #include "gdbsupport/selftest.h" #include "value.h" -#include "gdbsupport/vec.h" #include "gdbarch.h" #define GDB_YY_REMAP_PREFIX rust @@ -2025,7 +2024,7 @@ rust_parser::rust_lookup_type (const char *name, const struct block *block) return SYMBOL_TYPE (result.symbol); } - type = lookup_typename (language (), arch (), name, NULL, 1); + type = lookup_typename (language (), name, NULL, 1); if (type != NULL) return type;