From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12151 invoked by alias); 18 Sep 2009 20:42:41 -0000 Received: (qmail 12143 invoked by uid 22791); 18 Sep 2009 20:42:41 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Sep 2009 20:42:35 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8IKgLsV030301; Fri, 18 Sep 2009 16:42:21 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8IKgJqJ006615; Fri, 18 Sep 2009 16:42:20 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8IKgJNk022898; Fri, 18 Sep 2009 16:42:19 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id CCAB83782A5; Fri, 18 Sep 2009 14:42:18 -0600 (MDT) From: Tom Tromey To: "Alexey Feldgendler" Cc: gdb-patches@sourceware.org Subject: Re: Default target wide character set References: Reply-To: tromey@redhat.com Date: Fri, 18 Sep 2009 20:42:00 -0000 In-Reply-To: (Alexey Feldgendler's message of "Thu, 17 Sep 2009 10:50:40 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00612.txt.bz2 >>>>> "Alexey" == Alexey Feldgendler writes: Tom> Yeah, look in c-lang.c for a call to lookup_typename with an argument of Tom> "wchar_t". The resulting type can be queried for its attributes. Alexey> What happens then no symbol table is available? It just doesn't work. I think the user will get an error. If this is an important failure mode, we could perhaps add a new flag to print to mean "print as wchar_t", akin to the existing print/s. Tom