From 4e32eda7cb41f6ab1672a6f1c0420b163bc779b8 Mon Sep 17 00:00:00 2001 From: Siva Chandra Reddy Date: Sat, 9 Jun 2012 07:36:43 +0000 Subject: 2012-06-09 Siva Chandra Reddy * valarith.c (binop_types_user_defined_p): Fix a typo. --- gdb/ChangeLog | 4 ++++ gdb/valarith.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 01be712..15b457c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-06-09 Siva Chandra Reddy + + * valarith.c (binop_types_user_defined_p): Fix a typo. + 2012-06-08 Yao Qi Chung-Lin Tang diff --git a/gdb/valarith.c b/gdb/valarith.c index 0225339..96d5411 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -279,7 +279,7 @@ binop_types_user_defined_p (enum exp_opcode op, if (TYPE_CODE (type1) == TYPE_CODE_REF) type1 = check_typedef (TYPE_TARGET_TYPE (type1)); - type2 = check_typedef (type1); + type2 = check_typedef (type2); if (TYPE_CODE (type2) == TYPE_CODE_REF) type2 = check_typedef (TYPE_TARGET_TYPE (type2)); -- cgit v1.1