PR8554: New command to save breakpoints to a file

Michael Snyder msnyder@vmware.com
Thu Apr 15 23:15:00 GMT 2010


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.   ;-)



More information about the Gdb-patches mailing list