aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-06 21:07:00 -0600
committerTom Tromey <tom@tromey.com>2017-04-12 11:16:18 -0600
commitb24b0d6c3be6b95d4b5e8da901e1ef315bd458b4 (patch)
tree9a110ae5ae4b5fc476953e348c8b14bbc6be38e2 /gdb/charset.h
parent80a3b8c578e93119183db5f5e34248f843e410a7 (diff)
downloadgdb-b24b0d6c3be6b95d4b5e8da901e1ef315bd458b4.zip
gdb-b24b0d6c3be6b95d4b5e8da901e1ef315bd458b4.tar.gz
gdb-b24b0d6c3be6b95d4b5e8da901e1ef315bd458b4.tar.bz2
Fix up wchar_iterator comment
This fixes up a comment in charset.h that has been obsolete for a while. gdb/ChangeLog 2017-04-12 Tom Tromey <tom@tromey.com> * charset.h (wchar_iterator): Fix comment.
Diffstat (limited to 'gdb/charset.h')
-rw-r--r--gdb/charset.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/charset.h b/gdb/charset.h
index 9e8ca4a..51180e3 100644
--- a/gdb/charset.h
+++ b/gdb/charset.h
@@ -93,10 +93,8 @@ class wchar_iterator
buffer. CHARSET is the name of the character set in which INPUT is
encoded. WIDTH is the number of bytes in a base character of
CHARSET.
-
- This function either returns a new character set iterator, or calls
- error. The result can be freed using a cleanup; see
- make_cleanup_wchar_iterator. */
+
+ This constructor can throw on error. */
wchar_iterator (const gdb_byte *input, size_t bytes, const char *charset,
size_t width);