aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
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/eval.c
parentf9384420aee40b2a9055be24ca69bd371db86940 (diff)
downloadfsf-binutils-gdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.zip
fsf-binutils-gdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.tar.gz
fsf-binutils-gdb-a56c9325ec05cfe8c3d83cfcf6516fbf5c711be6.tar.bz2
* eval.c (evaluate_subexp_standard case): Fix typo.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
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);