diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 487ee85bec..0caf79b43b 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 3e4ed470c5..6f413a2bca 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,