* symfile.c (add_psymbol_to_bcache): Make 'psymbol' static again.
[deliverable/binutils-gdb.git] / gdb / parse.c
index 8e0373fa7ccc6309dda59fb1591c01fcbe257dd2..ef938e37d8be77f26aa22e43232f0b95a7c5c5d6 100644 (file)
@@ -34,6 +34,7 @@
 #include <ctype.h>
 
 #include "defs.h"
+#include "arch-utils.h"
 #include "gdb_string.h"
 #include "symtab.h"
 #include "gdbtypes.h"
@@ -1086,7 +1087,7 @@ parse_exp_in_context (char **stringptr, struct block *block, int comma,
   expout = (struct expression *)
     xmalloc (sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_size));
   expout->language_defn = current_language;
-  expout->gdbarch = current_gdbarch;
+  expout->gdbarch = get_current_arch ();
 
   TRY_CATCH (except, RETURN_MASK_ALL)
     {
This page took 0.024051 seconds and 4 git commands to generate.