switch inferior/thread before calling target methods
[deliverable/binutils-gdb.git] / gdb / guile / scm-type.c
index 953e17bf0e413b2a93d8fa078fe5ccd160e73c2c..52817ea4ede9b5d3597143c1dd5e90da95507cd9 100644 (file)
@@ -1,6 +1,6 @@
 /* Scheme interface to types.
 
-   Copyright (C) 2008-2019 Free Software Foundation, Inc.
+   Copyright (C) 2008-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1245,7 +1245,7 @@ tyscm_lookup_typename (const char *type_name, const struct block *block)
       else if (startswith (type_name, "enum "))
        type = lookup_enum (type_name + 5, NULL);
       else
-       type = lookup_typename (current_language, get_current_arch (),
+       type = lookup_typename (current_language,
                                type_name, block, 0);
     }
   catch (const gdb_exception &except)
This page took 0.024874 seconds and 4 git commands to generate.