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.
This commit is contained in:
Tom Tromey 2017-04-06 21:07:00 -06:00
parent 80a3b8c578
commit b24b0d6c3b
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2017-04-12 Tom Tromey <tom@tromey.com>
* charset.h (wchar_iterator): Fix comment.
2017-04-12 Tom Tromey <tom@tromey.com>
* charset.c (iconv_wrapper): New class.

View File

@ -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);