From: Tom Tromey Date: Wed, 26 Jun 2002 05:20:04 +0000 (+0000) Subject: * breakpoint.c (delete_command): Don't repeat `delete' commands. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea9365bb21067aff6c08ec75bb8f997578a54b86;p=binutils-gdb.git * breakpoint.c (delete_command): Don't repeat `delete' commands. --- 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;