From ee34b3f945bdf5f854081de8665163657ccf8a1b Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 27 May 2014 20:00:37 +0800 Subject: Fix typo in comments "unsed" -> "used" gdb: 2014-05-28 Yao Qi * charset.c: Fix typo in comments. --- gdb/ChangeLog | 4 ++++ gdb/charset.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 487ee85..0caf79b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-05-28 Yao Qi + + * charset.c: Fix typo in comments. + 2014-05-27 Gary Benson * utils.c (internal_vproblem): Prompt for a bug report. 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, -- cgit v1.1