aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-06-26 05:20:04 +0000
committerTom Tromey <tromey@redhat.com>2002-06-26 05:20:04 +0000
commitea9365bb21067aff6c08ec75bb8f997578a54b86 (patch)
tree4995d7626b6bf0f9dcb788a1f0ec5325b87472a5 /gdb/breakpoint.c
parenta4e6cefc0de5cdce42e0e0c77dfc1f1fa9f30961 (diff)
downloadgdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.zip
gdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.tar.gz
gdb-ea9365bb21067aff6c08ec75bb8f997578a54b86.tar.bz2
* breakpoint.c (delete_command): Don't repeat `delete' commands.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 2 insertions, 0 deletions
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;