From patchwork Tue May 27 12:51:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 1169 Received: (qmail 11580 invoked by alias); 27 May 2014 12:54:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 11569 invoked by uid 89); 27 May 2014 12:54:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 May 2014 12:54:09 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1WpGtK-0007c7-7s from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Tue, 27 May 2014 05:54:06 -0700 Received: from SVR-ORW-FEM-06.mgc.mentorg.com ([147.34.97.120]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 27 May 2014 05:54:05 -0700 Received: from qiyao.dyndns.org.com (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.2.247.3; Tue, 27 May 2014 05:54:04 -0700 From: Yao Qi To: Subject: [PATCH OBV] Fix typo in comments Date: Tue, 27 May 2014 20:51:35 +0800 Message-ID: <1401195095-30489-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes "unsed" -> "used" gdb: 2014-05-27 Yao Qi * charset.c: Fix typo in comments. --- gdb/charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/charset.c b/gdb/charset.c index 3e4ed47..6f413a2 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -954,7 +954,7 @@ extern char your_gdb_wchar_t_is_bogus[(sizeof (gdb_wchar_t) == 2 || sizeof (gdb_wchar_t) == 4) ? 1 : -1]; -/* intermediate_encoding returns the charset unsed internally by +/* intermediate_encoding returns the charset used internally by GDB to convert between target and host encodings. As the test above compiled, sizeof (gdb_wchar_t) is either 2 or 4 bytes. UTF-16/32 is tested first, UCS-2/4 is tested as a second option,