From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9420 invoked by alias); 15 Apr 2010 23:15:48 -0000 Received: (qmail 9412 invoked by uid 22791); 15 Apr 2010 23:15:48 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Apr 2010 23:15:44 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 60ADA52002; Thu, 15 Apr 2010 16:15:43 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 55EADCD91E; Thu, 15 Apr 2010 16:15:43 -0700 (PDT) Message-ID: <4BC79E1E.2060005@vmware.com> Date: Thu, 15 Apr 2010 23:15:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Pedro Alves CC: "gdb-patches@sourceware.org" , "tromey@redhat.com" Subject: Re: PR8554: New command to save breakpoints to a file References: <201004090341.14389.pedro@codesourcery.com> <4BC79899.10801@vmware.com> <4BC79A0F.9090406@vmware.com> <201004160004.58431.pedro@codesourcery.com> In-Reply-To: <201004160004.58431.pedro@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2010-04/txt/msg00491.txt.bz2 Pedro Alves wrote: > On Thursday 15 April 2010 23:58:23, Michael Snyder wrote: >> Also maybe this should be milder than a warning: >> >> if (!any) >> { >> if (from_tty) >> printf_filtered (_("Nothing to save.")); >> return; >> } > > (sorry, lost in translation) What do you mean by > milder? Get rid of the print at all? > > That is what the current implementation of "save-tracepoints" > does, I didn't want to change the whole world with a single > patch. > No, the current implementation calls "warning", with the same message. So it comes out at the console as: Warning: Nothing to save. Just sounds a little draconian, that's all. ;-)