From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27438 invoked by alias); 27 Jan 2004 08:39:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27430 invoked from network); 27 Jan 2004 08:39:47 -0000 Received: from unknown (HELO deadlock.et.tudelft.nl) (130.161.36.93) by sources.redhat.com with SMTP; 27 Jan 2004 08:39:47 -0000 Received: from daniel (helo=localhost) by deadlock.et.tudelft.nl with local-esmtp (Exim 3.35 #1 (Debian)) id 1AlOl5-00046q-00; Tue, 27 Jan 2004 09:39:43 +0100 Date: Tue, 27 Jan 2004 08:39:00 -0000 From: =?ISO-8859-1?Q?Dani=EBl_Mantione?= To: Ian Lance Taylor cc: gdb@sources.redhat.com Subject: Re: Stabs: constant string, constant boolean In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SW-Source: 2004-01/txt/msg00315.txt.bz2 On 26 Jan 2004, Ian Lance Taylor wrote: > Looking at the code, I see that gdb only supports the 'r', 'i', and > 'e' types. The 'b', 'c', 's', and 'S' types are documented, but not > supported. > > I note this in the docs: > > The boolean, character, string, and set constants are not > supported by GDB 4.9, but it ignores them. > > This is not entirely unreasonable, as the 'b', 'c', 's', and 'S' types > are short on type information. I think it would normally be better to > use 'e' instead of 'b' or 'c'. I suppose that 's' and 'S' aren't seen > as an issue since they won't arise in C. Thanks for the info, even though that is pretty bad news :( Constant sets & strings do exist in Pascal, i.e.: const str1=3D'blablabla'; set1=3D['b','l','a']; I know our former team member Pierre Muller contributed some patches to add Pascal support to gdb, but apparently not to support these... Alas, Pierre has stopped with Free Pascal development; I'm currently trying to give some life-support to the debug-info generation he wrote. Greetings, Dani=EBl