Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Siva Chandra <sivachandra@google.com>
To: gdb-patches@sourceware.org
Subject: [RFA] Fix a typo
Date: Fri, 08 Jun 2012 19:43:00 -0000	[thread overview]
Message-ID: <CAGyQ6gyHCqm+jp=ahXOHHQLDF__WXTGEyj=A7Xu5ev8BbD1_+g@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

Hello,

The attached patch fixes, what looks to me like, a definite typo.

2012-06-08  Siva Chandra Reddy  <sivachandra@google.com>

        * valarith.c (binop_types_user_defined_p): Fix a typo.

Thanks,
Siva Chandra

[-- Attachment #2: typo_patch.txt --]
[-- Type: text/plain, Size: 600 bytes --]

Index: valarith.c
===================================================================
RCS file: /cvs/src/src/gdb/valarith.c,v
retrieving revision 1.103
diff -u -p -r1.103 valarith.c
--- valarith.c	18 May 2012 21:02:50 -0000	1.103
+++ valarith.c	8 Jun 2012 19:03:23 -0000
@@ -279,7 +279,7 @@ binop_types_user_defined_p (enum exp_opc
   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));
 

             reply	other threads:[~2012-06-08 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 19:43 Siva Chandra [this message]
2012-06-08 20:31 ` Tom Tromey
2012-06-09  7:38   ` Siva Chandra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGyQ6gyHCqm+jp=ahXOHHQLDF__WXTGEyj=A7Xu5ev8BbD1_+g@mail.gmail.com' \
    --to=sivachandra@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox