aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1995-12-03 20:32:55 +0000
committerPer Bothner <per@bothner.com>1995-12-03 20:32:55 +0000
commita56c9325ec05cfe8c3d83cfcf6516fbf5c711be6 (patch)
treef49afe06f6b90243703b625ef4cf82c7fd585f15 /gdb
parentf9384420aee40b2a9055be24ca69bd371db86940 (diff)
downloadgdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.zip
gdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.tar.gz
gdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.tar.bz2
* eval.c (evaluate_subexp_standard case): Fix typo.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/eval.c2
2 files changed, 5 insertions, 1 deletions
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 <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
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);