* eval.c (evaluate_subexp_standard case): Fix typo.
authorPer Bothner <per@bothner.com>
Sun, 3 Dec 1995 20:32:55 +0000 (20:32 +0000)
committerPer Bothner <per@bothner.com>
Sun, 3 Dec 1995 20:32:55 +0000 (20:32 +0000)
gdb/ChangeLog
gdb/eval.c

index 3a69ee1a725b286c7d708a886193cda2b1722392..fa28bacb7ce2ae8937791f3229defa1d4f805994 100644 (file)
@@ -1,3 +1,7 @@
+Sun Dec  3 12:31:03 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * eval.c (evaluate_subexp_standard case):  Fix typo.
+
 Sun Dec  3 11:59:21 1995  Jeffrey A. Law  <law@cygnus.com>
 
        * ch-exp.c (parse_named_record_element): Avoid aggregrate
index c3918481d8591c2aba5c4558610c5eff481990a1..eaf0b29a7f0c5896dcfa09973f7dca5dae92003d 100644 (file)
@@ -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);