From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Klaus-Georg Adams Cc: gdb@sources.redhat.com Subject: Re: displaying wchar_t in gdb Date: Mon, 26 Nov 2001 04:11:00 -0000 Message-id: References: X-SW-Source: 2001-11/msg00257.html On 26 Nov 2001, Klaus-Georg Adams wrote: > What would be a strategy to implement this natively in gdb? Can you > tell inside gdb if we are working with wchar_t? Should there be a > separate format for this? I'm not even sure this is feasible, taking the cross-debugging into consideration. I guess it's possible in native debugging, assuming GDB and the debuggee use compatible libraries for wide character support, and support the same character sets. If it _is_ possible and feasible, then a special format is probably the way to go. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24797 invoked by alias); 26 Nov 2001 12:11:00 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24688 invoked from network); 26 Nov 2001 12:10:55 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sourceware.cygnus.com with SMTP; 26 Nov 2001 12:10:55 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id OAA12816; Mon, 26 Nov 2001 14:10:25 +0200 (IST) Date: Tue, 13 Nov 2001 23:51:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Klaus-Georg Adams cc: gdb@sources.redhat.com Subject: Re: displaying wchar_t in gdb In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-11/txt/msg00150.txt.bz2 Message-ID: <20011113235100.4lMtbfzX45sAPl8OO8Dcg4XO7-_F8y5vV5F8v6tzJNA@z> On 26 Nov 2001, Klaus-Georg Adams wrote: > What would be a strategy to implement this natively in gdb? Can you > tell inside gdb if we are working with wchar_t? Should there be a > separate format for this? I'm not even sure this is feasible, taking the cross-debugging into consideration. I guess it's possible in native debugging, assuming GDB and the debuggee use compatible libraries for wide character support, and support the same character sets. If it _is_ possible and feasible, then a special format is probably the way to go.