* 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 9695da20ad4ad42a6c7a0404a6140704d63aad33..6c637f771be62e7c2a2587e0a4b84043bf7d8cf3 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 187061e45e7b9e6fc14a732557787179d0f3c0cd..ce1360d53e816f6548b9d96ffa1d788d851e8fb3 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;