aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-05-27 20:00:37 +0800
committerYao Qi <yao@codesourcery.com>2014-05-28 09:31:45 +0800
commitee34b3f945bdf5f854081de8665163657ccf8a1b (patch)
tree42437efa4b60fcf295a03a6803feb40bffdf8923 /gdb
parent41aa47b48f0794fdfccc0f2c283433d8e35c5a2c (diff)
downloadfsf-binutils-gdb-ee34b3f945bdf5f854081de8665163657ccf8a1b.zip
fsf-binutils-gdb-ee34b3f945bdf5f854081de8665163657ccf8a1b.tar.gz
fsf-binutils-gdb-ee34b3f945bdf5f854081de8665163657ccf8a1b.tar.bz2
Fix typo in comments
"unsed" -> "used" gdb: 2014-05-28 Yao Qi <yao@codesourcery.com> * charset.c: Fix typo in comments.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/charset.c2
2 files changed, 5 insertions, 1 deletions
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 <yao@codesourcery.com>
+
+ * charset.c: Fix typo in comments.
+
2014-05-27 Gary Benson <gbenson@redhat.com>
* 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,