gdbserver/Windows: crash during connection establishment phase
[deliverable/binutils-gdb.git] / gdb / eval.c
index 2fdfdf93532136052c7fa786c7f1d33d86c5a0b1..5bd6e2cbfea489c6baa775c84378c51610323c81 100644 (file)
@@ -215,6 +215,7 @@ fetch_subexp_value (struct expression *exp, int *pc, struct value **valp,
        case MEMORY_ERROR:
          if (!preserve_errors)
            break;
+         /* Fall through.  */
        default:
          throw_exception (ex);
          break;
@@ -1747,7 +1748,7 @@ evaluate_subexp_standard (struct type *expect_type,
            /* The address might point to a function descriptor;
               resolve it to the actual code address instead.  */
            addr = gdbarch_convert_from_func_ptr_addr (exp->gdbarch, addr,
-                                                      &current_target);
+                                                      target_stack);
 
            /* Is it a high_level symbol?  */
            sym = find_pc_function (addr);
This page took 0.023518 seconds and 4 git commands to generate.