* breakpoint.c (delete_command): Don't repeat `delete' commands.
authorTom Tromey <tromey@redhat.com>
Wed, 26 Jun 2002 05:20:04 +0000 (05:20 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 26 Jun 2002 05:20:04 +0000 (05:20 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 9695da2..6c637f7 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-25  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (delete_command): Don't repeat `delete' commands.
+
 2002-06-25  Andrew Cagney  <cagney@redhat.com>
 
        * infrun.c (stop_registers): Change variable's type to ``struct
index 187061e..ce1360d 100644 (file)
@@ -6769,6 +6769,8 @@ delete_command (char *arg, int from_tty)
 {
   struct breakpoint *b, *temp;
 
+  dont_repeat ();
+
   if (arg == 0)
     {
       int breaks_to_delete = 0;