From ea9365bb21067aff6c08ec75bb8f997578a54b86 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 26 Jun 2002 05:20:04 +0000 Subject: [PATCH] * breakpoint.c (delete_command): Don't repeat `delete' commands. --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9695da20ad4..6c637f771be 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-06-25 Tom Tromey + + * breakpoint.c (delete_command): Don't repeat `delete' commands. + 2002-06-25 Andrew Cagney * infrun.c (stop_registers): Change variable's type to ``struct diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 187061e45e7..ce1360d53e8 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; -- 2.30.2