From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27123 invoked by alias); 29 Nov 2009 02:24:06 -0000 Received: (qmail 27110 invoked by uid 22791); 29 Nov 2009 02:24:05 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 29 Nov 2009 02:24:01 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 89FA84407E; Sat, 28 Nov 2009 18:23:58 -0800 (PST) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id 80D19CD905; Sat, 28 Nov 2009 18:23:58 -0800 (PST) Message-ID: <4B11DA23.7080908@vmware.com> Date: Mon, 30 Nov 2009 12:37:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20090624) MIME-Version: 1.0 To: Joel Brobecker CC: "gdb@sourceware.org" , Hui Zhu Subject: Re: [RFC] syntax change for "record save" References: <4B0EF39A.10802@vmware.com> <20091127013738.GL18141@adacore.com> In-Reply-To: <20091127013738.GL18141@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-11/txt/msg00212.txt.bz2 Joel Brobecker wrote: >> This proposal follows from Teawater's thread >> "A question about gdb script", in which Teawater >> wants to know how to use a gdb local variable >> to append a sequence number to the file name >> of a record log file. > > This is not an objection, but I am really not fond of that extension. > It feels ad hoc that the extension, if provided, should be evaluated > as an integer. What if the user wanted a more general scheme? Or what > if he wanted to the suffix to be in hex? Replying here before starting a new thread... Well, nobody asked for it to be more general. Whereas, I think this is not the first time I have heard a request for this sort of functionality. Could be the last request was regarding the 'gcore' command, or maybe something else (set logging file?). Now I'll start a new thread. ;-)