From: Per Bothner Date: Sun, 3 Dec 1995 20:32:55 +0000 (+0000) Subject: * eval.c (evaluate_subexp_standard case): Fix typo. X-Git-Tag: gdb-4_18~9907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6;p=external%2Fbinutils.git * eval.c (evaluate_subexp_standard case): Fix typo. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a69ee1..fa28bac 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 c391848..eaf0b29 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);