From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119599 invoked by alias); 25 Jun 2015 21:27:52 -0000 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 Received: (qmail 119578 invoked by uid 48); 25 Jun 2015 21:27:52 -0000 From: "joehtg at joehtg dot co.at" To: gdb-prs@sourceware.org Subject: [Bug exp/18603] New: print L'a' triggers inadequate error message: "No type named wchar_t." Date: Thu, 25 Jun 2015 21:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: joehtg at joehtg dot co.at X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00462.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18603 Bug ID: 18603 Summary: print L'a' triggers inadequate error message: "No type named wchar_t." Product: gdb Version: 7.7 Status: NEW Severity: minor Priority: P2 Component: exp Assignee: unassigned at sourceware dot org Reporter: joehtg at joehtg dot co.at Target Milestone: --- print wide literal, e.g. print L'a', causes error message No type named wchar_t. when no executable file is loaded or when the executable does not have wchar_t variables. gdb should get sizeof(wchar_t) from target-wide-charset This would be useful for Debugging of programs using ICU or OCI (in UTF-16 mode) under Linux. I'd like to use the command print (wchar_t*)utext for UChar * utext if the program does not use native 32-bit wchar_t -- You are receiving this mail because: You are on the CC list for the bug.