public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "ppluzhnikov at google dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug c++/10908] error reading variable for char variable Date: Sat, 07 Nov 2009 19:21:00 -0000 [thread overview] Message-ID: <20091107192146.11446.qmail@sourceware.org> (raw) In-Reply-To: <20091105145517.10908.egor@sun.com> ------- Additional Comments From ppluzhnikov at google dot com 2009-11-07 19:21 ------- The first problem appears to be that iconv_open("wchar_t", "UTF-8") fails. Here are the relevant ICONV settings from config.h: $ egrep 'ICONV|WCHAR|BTOWC' config.h #define BITSIZEOF_WCHAR_T 32 #define HAVE_BTOWC 1 #define HAVE_ICONV 1 /* #undef HAVE_ICONVLIST */ /* #undef HAVE_LIBICONVLIST */ #define HAVE_SIGNED_WCHAR_T 1 #define HAVE_WCHAR_H 1 #define ICONV_CONST const #define WCHAR_T_SUFFIX l The second problem is that 'iconv -l' outputs this: $ iconv -l The following are all supported code set names. All combinations of those names are not necessarily available for the pair of the fromcode-tocode. Some of those code set names have aliases, which are case-insensitive and described in parentheses following the canonical name: 646 (ASCII, US-ASCII, US_ASCII, USASCII), 646da, 646de, 646en, 646es, 646fr, 646it, 646sv, 8859, 8859-1 (ISO8859-1, ISO-8859-1, ISO8859_1, ISO_8859_1), This results in bizarre tab completion for 'set charset ...': (gdb) set charset <TAB> All combinations not Some described of The following pair aliases, for parentheses all fromcode-tocode. set and have supported are in the available name: those canonical names which case-insensitive names. code necessarily and inability to set charset to anything reasonable: (gdb) set charset UTF-8 Undefined item: "UTF-8". -- http://sourceware.org/bugzilla/show_bug.cgi?id=10908 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2009-11-07 19:21 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-11-05 14:55 [Bug c++/10908] New: " egor at sun dot com 2009-11-07 1:57 ` [Bug c++/10908] " ppluzhnikov at google dot com 2009-11-07 15:46 ` tromey at redhat dot com 2009-11-07 19:21 ` ppluzhnikov at google dot com [this message] 2009-11-07 22:29 ` tromey at redhat dot com 2010-04-19 22:49 ` tromey at redhat dot com [not found] <bug-10908-4717@http.sourceware.org/bugzilla/> 2010-12-10 13:34 ` basinilya at gmail dot com 2010-12-21 18:26 ` tromey at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20091107192146.11446.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).