From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23917 invoked by alias); 19 Jun 2013 17:35:32 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 23907 invoked by uid 89); 19 Jun 2013 17:35:31 -0000 X-Spam-SWARE-Status: No, score=-8.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 19 Jun 2013 17:35:31 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5JHZTr5002771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Jun 2013 13:35:29 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5JHZSZ2025644; Wed, 19 Jun 2013 13:35:28 -0400 Message-ID: <51C1EBDF.5060808@redhat.com> Date: Wed, 19 Jun 2013 17:37:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tom Tromey CC: gdb-patches@sourceware.org Subject: Re: [PATCH] don't keep a gdb-specific date References: <1371662226-10926-1-git-send-email-tromey@redhat.com> In-Reply-To: <1371662226-10926-1-git-send-email-tromey@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00502.txt.bz2 On 06/19/2013 06:17 PM, Tom Tromey wrote: > Right now there are two nightly commits to update a file in the tree > with the current date. One commit is for BFD, one is for gdb. > > It seems unnecessary to me to do this twice. We can make do with a > single such commit. > > This patch changes gdb in a minimal way to reuse the BFD date -- it > extracts it from bfdver.h and changes version.in to use the > placeholder string "DATE" for those times when a date is wanted. > > I remove the cron job that updates the version on trunk, and then > check in this patch. > > For release branches, we can keep the cron job, but just tell it to > rewrite bfd/version.h. I believe this is a simple change in the > crontab -- the script will work just fine on this file. What about gdbserver? I suspect it'll print literal "7.6.50.DATE-cvs" as version date with this patch. -- Pedro Alves