This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR8554: New command to save breakpoints to a file


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]