From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29519 invoked by alias); 18 Mar 2002 20:19:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29302 invoked from network); 18 Mar 2002 20:18:57 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 18 Mar 2002 20:18:57 -0000 Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g2IKIvQ04663 for ; Mon, 18 Mar 2002 12:18:57 -0800 (PST) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Mon, 18 Mar 2002 12:18:57 -0800 Received: from apple.com (vpn-gh-1104.apple.com [17.254.140.79]) by scv2.apple.com (8.11.3/8.11.3) with ESMTP id g2IKIub11575; Mon, 18 Mar 2002 12:18:56 -0800 (PST) Message-ID: <3C964BAA.E2773073@apple.com> Date: Mon, 18 Mar 2002 12:19:00 -0000 From: Stan Shebs X-Mailer: Mozilla 4.77C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: Neil Booth CC: Daniel Berlin , Jim Blandy , gdb-patches@sources.redhat.com, gcc@gcc.gnu.org Subject: Re: RFC: C/C++ preprocessor macro support for GDB References: <20020318072916.GB14970@daikokuya.demon.co.uk> <20020318184525.GC19897@daikokuya.demon.co.uk> <3C9643B8.334D7812@apple.com> <20020318200448.GA22023@daikokuya.demon.co.uk> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00324.txt.bz2 Neil Booth wrote: > > Hi Stan! > > Stan Shebs wrote:- > > > As someone who has had much of his time consumed by keeping > > another preprocessor (Apple's cpp-precomp) in sync with GNU cpp, > > I think we really should try hard to avoid duplicate macro > > expanders. > > What were the issues? Subtle differences in macro expansion? I'm > curious. Just about everything you can think of. :-) GNU extensions, predefined symbols, pathname search orders, token pasting, etc. GNUisms like vararg macros (now a C99ism too I guess) have probably accounted for the most work. Stan