This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR exp/9103


> Cc: brobecker@adacore.com, bauerman@br.ibm.com, andreolb@gmail.com,         gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Tue, 17 Mar 2009 14:01:23 -0600
> 
>  *** Changes since GDB 6.8
>  
> +* GDB now has support for multi-byte and wide character sets on the
> +target.  Strings whose character type is wchar_t, char16_t, or
> +char32_t are now correctly printed.  GDB supports wide- and unicode-
> +literals in C, that is, L'x', L"string", u'x', u"string", U'x', and
> +U"string" syntax.  And, GDB allows the "%ls" and "%lc" formats in
> +`printf'.
> +
>  * GDB now supports automatic retrieval of shared library files from
>  remote targets.  To use this feature, specify a system root that begins
>  with the `remote:' prefix, either via the `set sysroot' command or via
> @@ -182,6 +189,11 @@ set target-async
>    with GDB while the target is running.  "show target-async" displays the
>    current state of asynchronous execution of the target.
>  
> +set target-wide-charset
> +show target-wide-charset
> +  The target-wide-charset is the name of the character set that GDB
> +  uses when printing characters whose type is wchar_t.
> +

This text is okay, but I think we should mention that libiconv is
required for a _real_ support of these features.

> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 5b3c50b..7a49aea 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo

This part is OK, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]