diff options
author | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-06-09 07:36:43 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-06-09 07:36:43 +0000 |
commit | 4e32eda7cb41f6ab1672a6f1c0420b163bc779b8 (patch) | |
tree | eac3c77e8c83aef322d3df5eb9d3f89f3568081e /gdb | |
parent | d2e1b1b7a8aa6048eee12ba7dd6715c711aff969 (diff) | |
download | gdb-4e32eda7cb41f6ab1672a6f1c0420b163bc779b8.zip gdb-4e32eda7cb41f6ab1672a6f1c0420b163bc779b8.tar.gz gdb-4e32eda7cb41f6ab1672a6f1c0420b163bc779b8.tar.bz2 |
2012-06-09 Siva Chandra Reddy <sivachandra@google.com>
* valarith.c (binop_types_user_defined_p): Fix a typo.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/valarith.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <sivachandra@google.com> + + * valarith.c (binop_types_user_defined_p): Fix a typo. + 2012-06-08 Yao Qi <yao@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> 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)); |