[PATCH 009/203] what is this code for

Tom Tromey
2021-01-01T21:47:36Z

---
gdb/eval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/eval.c b/gdb/eval.c
index b00139ca36f..f2507f25f44 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1224,7 +1224,7 @@ eval_op_var_msym_value (struct type *expect_type, struct expression *exp,

struct type *type = value_type (val);
if (type->code () == TYPE_CODE_ERROR
- && (noside != EVAL_AVOID_SIDE_EFFECTS || pc != 0))
+ && (noside != EVAL_AVOID_SIDE_EFFECTS))
error_unknown_type (msymbol->print_name ());
return val;
}
--
2.26.2