diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-12-31 22:59:51 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-12-31 22:59:51 +0000 |
commit | 4b1d7842adfc9887086cea526e5ca5e923e48422 (patch) | |
tree | 111d3852e82a916629399ffd1587ed51e587b009 /gdb/charset.h | |
parent | 063d51569a462844484401166c2fb3a46691668a (diff) | |
download | gdb-4b1d7842adfc9887086cea526e5ca5e923e48422.tar.gz |
2010-12-31 Michael Snyder <msnyder@vmware.com>
* charset.c: Comment cleanup and long line wrapping.
* charset.h: Ditto.
* c-lang.c: Ditto.
* c-lang.h: Ditto.
* coff-pe-read.c: Ditto.
* coff-pe-read.h: Ditto.
* coffread.c: Ditto.
* command.h: Ditto.
* complaints.c: Ditto.
* complaints.h: Ditto.
* completer.c: Ditto.
* completer.h: Ditto.
* corefile.c: Ditto.
* corelow.c: Ditto.
* core-regset.c: Ditto.
* cp-abi.c: Ditto.
* cp-abi.h: Ditto.
* cp-namespace.c: Ditto.
* cp-support.c: Ditto.
* cp-support.h: Ditto.
* cp-valprint.c: Ditto.
* cp-typeprint.c: Ditto.
* c-valprint.c: Ditto.
Diffstat (limited to 'gdb/charset.h')
-rw-r--r-- | gdb/charset.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/charset.h b/gdb/charset.h index bd93d01d7d0..021eb31124e 100644 --- a/gdb/charset.h +++ b/gdb/charset.h @@ -60,8 +60,10 @@ enum transliterations caller is responsible for initializing the obstack, and for destroying the obstack should an error occur. TRANSLIT specifies how invalid conversions should be handled. */ + void convert_between_encodings (const char *from, const char *to, - const gdb_byte *bytes, unsigned int num_bytes, + const gdb_byte *bytes, + unsigned int num_bytes, int width, struct obstack *output, enum transliterations translit); @@ -91,7 +93,8 @@ struct wchar_iterator; 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. */ -struct wchar_iterator *make_wchar_iterator (const gdb_byte *input, size_t bytes, +struct wchar_iterator *make_wchar_iterator (const gdb_byte *input, + size_t bytes, const char *charset, size_t width); |