* breakpoint.c (delete_command): Don't repeat `delete' commands.

This commit is contained in:
Tom Tromey 2002-06-26 05:20:04 +00:00
parent a4e6cefc0d
commit ea9365bb21
2 changed files with 6 additions and 0 deletions

View 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

View 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;