From a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 3 Dec 1995 20:32:55 +0000 Subject: [PATCH] * eval.c (evaluate_subexp_standard case): Fix typo. --- gdb/ChangeLog | 4 ++++ gdb/eval.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a69ee1a725..fa28bacb7ce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Sun Dec 3 12:31:03 1995 Per Bothner + + * eval.c (evaluate_subexp_standard case): Fix typo. + Sun Dec 3 11:59:21 1995 Jeffrey A. Law * ch-exp.c (parse_named_record_element): Avoid aggregrate diff --git a/gdb/eval.c b/gdb/eval.c index c3918481d85..eaf0b29a7f0 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -884,7 +884,7 @@ evaluate_subexp_standard (expect_type, exp, pos, noside) goto nosideret; tem2 = value_as_long (arg2); - tem2 = value_as_long (arg3); + tem3 = value_as_long (arg3); return value_slice (arg1, tem2, tem3 - tem2 + 1); -- 2.30.2