Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 8430628344556ce868082ed3fcb26636f46cb9b2..a2e7cfc343cf8c8b2ac62e717cf69c8d276a077b 100644 (file)
@@ -6087,7 +6087,8 @@ insert_exception_resume_breakpoint (struct thread_info *tp,
       CORE_ADDR handler;
       struct breakpoint *bp;
 
-      vsym = lookup_symbol (SYMBOL_LINKAGE_NAME (sym), b, VAR_DOMAIN, NULL);
+      vsym = lookup_symbol (SYMBOL_LINKAGE_NAME (sym), b, VAR_DOMAIN,
+                           NULL).symbol;
       value = read_var_value (vsym, frame);
       /* If the value was optimized out, revert to the old behavior.  */
       if (! value_optimized_out (value))
This page took 0.027555 seconds and 4 git commands to generate.