From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18500 invoked by alias); 17 Jul 2009 15:01:13 -0000 Received: (qmail 18377 invoked by uid 22791); 17 Jul 2009 15:01:12 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp1.ugent.be (HELO smtp1.UGent.be) (157.193.71.182) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jul 2009 15:01:05 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.UGent.be (Postfix) with ESMTP id F00053F61EB; Fri, 17 Jul 2009 17:01:01 +0200 (CEST) Received: from smtp1.UGent.be ([157.193.71.182]) by localhost (mcheck2.ugent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id Ob043WgOUSeu; Fri, 17 Jul 2009 17:01:01 +0200 (CEST) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp1.UGent.be (Postfix) with ESMTP id 6254B3F61E9; Fri, 17 Jul 2009 17:00:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id C98B4918F24; Fri, 17 Jul 2009 17:00:59 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9JzpdD1WbPTq; Fri, 17 Jul 2009 17:00:56 +0200 (CEST) Received: from [127.0.0.1] (codd.elis.UGent.be [157.193.206.155]) by mail.elis.ugent.be (Postfix) with ESMTP id 75898918F20; Fri, 17 Jul 2009 17:00:56 +0200 (CEST) Cc: gdb@sourceware.org, Pierre Muller Message-Id: <4BD69DB5-124E-4BEF-9866-D278F59B9BC9@elis.ugent.be> From: Jonas Maebe To: Daniel Jacobowitz In-Reply-To: <20090717144119.GA1298@caradoc.them.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Is bitstring support still useful? Date: Fri, 17 Jul 2009 15:01:00 -0000 References: <20090717143315.GA29728@caradoc.them.org> <20090717144119.GA1298@caradoc.them.org> X-j-chkmail-Enveloppe: 4A60922B.001/157.193.206.48/mail.elis.UGent.be/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 4A60922B.001 on smtp1.UGent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00118.txt.bz2 On 17 Jul 2009, at 16:41, Daniel Jacobowitz wrote: > I'd still like to know whether the existing support is used by any > language, though. If not, we can clean it up aggressively and remove > the stabs reader support for bitstrings. I suspect that it is mostly > copied and pasted from the removed Chill support. The Free Pascal Compiler uses it for bitpacked arrays (arrays whose element sizes are not multiples of 8 bits), because there does not appear to be any other way to represent them in stabs. I've also tried @P, but that seemed to be ignored by gdb (and there is no reason why it would mean bitpacked rather than e.g. bytepacked). Bitpacked arrays are not used very much though, so if you can suggest another way to generate Stabs debug information for them, that's fine too (i.e., backwards compatibility is not that important in our case). Jonas