gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / parse.c
index 65e3c6008cdf626aebc040cc4015cf3b1629e251..d5efe4ab3d8cb4c5107253097e5d75c206442568 100644 (file)
@@ -1340,7 +1340,7 @@ operator_check_standard (struct expression *exp, int pos,
          return 1;
 
        /* Check objfile where is placed the code touching the variable.  */
-       objfile = lookup_objfile_from_block (block);
+       objfile = block_objfile (block);
 
        type = SYMBOL_TYPE (symbol);
       }
@@ -1436,8 +1436,9 @@ increase_expout_size (struct expr_builder *ps, size_t lenelt)
     }
 }
 
+void _initialize_parse ();
 void
-_initialize_parse (void)
+_initialize_parse ()
 {
   add_setshow_zuinteger_cmd ("expression", class_maintenance,
                             &expressiondebug,
This page took 0.025201 seconds and 4 git commands to generate.