Thank you for this suggestion. I added the modification you asked for in the attached file. Guillaume. On Fri, Feb 18, 2011 at 11:30 AM, Eli Zaretskii wrote: >> Date: Fri, 18 Feb 2011 10:36:18 +0100 >> From: Guillaume Leconte >> >> Notice that I've change the prototype of delete_display() in order >> to have a silent return in case of unknown number.  If you have set >> the display numbers 1, 2, 3 and 5, you can remove 2-5 without any >> error messages (number 4 is missing in the list).  As a consequence, >> you can also remove out of bound numbers, as in 'delete display 5-42' >> without having gdb complaining. > > I think it's a convenient feature, but doing this silently may not be > a good idea.  How about displaying a note about this?  Something like > >  (Ignored some display numbers.) > > WDYT? > -- "A fellow of infinite jest, of most excellent fancy."