From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3145 invoked by alias); 7 Nov 2009 01:57:37 -0000 Received: (qmail 3131 invoked by uid 48); 7 Nov 2009 01:57:35 -0000 Date: Sat, 07 Nov 2009 01:57:00 -0000 Message-ID: <20091107015735.3130.qmail@sourceware.org> From: "ppluzhnikov at google dot com" To: gdb-prs@sourceware.org In-Reply-To: <20091105145517.10908.egor@sun.com> References: <20091105145517.10908.egor@sun.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug c++/10908] error reading variable for char variable X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00216.txt.bz2 ------- Additional Comments From ppluzhnikov at google dot com 2009-11-07 01:57 ------- This has to do with Tom's charset changes. The error comes from: #0 error (string=0x834d468 "%s.") at ../../src/gdb/utils.c:814 #1 0x080d5c33 in perror_with_name ( string=0x8373763 "Converting character sets") at ../../src/gdb/utils.c:1147 #2 0x0815aa33 in make_wchar_iterator (input=0x80470c0 "z9W\b\001", bytes=1, charset=0xfe65b0d0 "UTF-8", width=1) at ../../src/gdb/charset.c:542 #3 0x0821370a in c_emit_char (c=122, type=0x8573988, stream=0x852e388, quoter=39) at ../../src/gdb/c-lang.c:272 #4 0x08213a1d in c_printchar (c=122, type=0x8573988, stream=0x852e388) at ../../src/gdb/c-lang.c:360 #5 0x08235ea8 in c_val_print (type=0x8573988, valaddr=0x85a8918 "z�U\b", embedded_offset=0, address=134511147, stream=0x852e388, recurse=0, options=0x8047370) at ../../src/gdb/c-valprint.c:497 #6 0x081739c7 in val_print (type=0x8573988, valaddr=0x85a8918 "z�U\b", embedded_offset=0, address=134511147, stream=0x852e388, recurse=0, options=0x8047430, language=0x83a7dc0) at ../../src/gdb/valprint.c:309 #7 0x082365e9 in c_value_print (val=0x85f3558, stream=0x852e388, options=0x8047510) at ../../src/gdb/c-valprint.c:711 #8 0x08173bf1 in value_print (val=0x85f3558, stream=0x852e388, options=0x8047510) at ../../src/gdb/valprint.c:393 #9 0x08175ef3 in print_formatted (val=0x85f3558, size=0, options=0x8047510, stream=0x852e388) at ../../src/gdb/printcmd.c:319 #10 0x08177156 in print_command_1 (exp=0x8449dea "cc", inspect=0, voidprint=1) at ../../src/gdb/printcmd.c:958 Possible workaround: install GNU libiconv into the build tree. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 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.