diff options
author | Tom Tromey <tromey@redhat.com> | 2002-06-26 05:20:04 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-06-26 05:20:04 +0000 |
commit | ea9365bb21067aff6c08ec75bb8f997578a54b86 (patch) | |
tree | 4995d7626b6bf0f9dcb788a1f0ec5325b87472a5 | |
parent | a4e6cefc0de5cdce42e0e0c77dfc1f1fa9f30961 (diff) | |
download | gdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.zip gdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.tar.gz gdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.tar.bz2 |
* breakpoint.c (delete_command): Don't repeat `delete' commands.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/breakpoint.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9695da2..6c637f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 187061e..ce1360d 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; |