From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15644 invoked by alias); 16 Jul 2013 20:51:46 -0000 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 Received: (qmail 15635 invoked by uid 89); 16 Jul 2013 20:51:46 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 16 Jul 2013 20:51:45 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6GKpcMF019681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 16 Jul 2013 16:51:38 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6GKpbYC009593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 16 Jul 2013 16:51:37 -0400 From: Tom Tromey To: GDB Development Subject: C99 Date: Tue, 16 Jul 2013 20:51:00 -0000 Message-ID: <87wqoqi5yf.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00049.txt.bz2 I'd like to draw attention to this patch: http://sourceware.org/ml/gdb-patches/2013-06/msg00808.html This points out that gdb has been unconditionally using a GCC extension, apparently since at least 2010; the patch introducing the varargs define in tracepoint.c was 7c56ce7 (2010-04-09). The patch proposes replacing this with the corresponding C99 construct. So, I'd like to propose we allow the use of C99 in gdb. In particular I think we ought to require a C99 preprocessor -- enabling this particular patch to go in and also allowing the use of "//" comments. Tom