2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>

* breakpoint.c (enable_command): Use break instead of continue,
	and fill in a missing break.
	(disable_command): Ditto.
This commit is contained in:
Michael Snyder 2011-03-04 19:57:31 +00:00
parent 1e182ce8c3
commit 488919c487
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* breakpoint.c (enable_command): Use break instead of continue,
and fill in a missing break.
(disable_command): Ditto.
2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.

View File

@ -10930,7 +10930,7 @@ disable_command (char *args, int from_tty)
case bp_none: case bp_none:
warning (_("attempted to disable apparently deleted breakpoint #%d?"), warning (_("attempted to disable apparently deleted breakpoint #%d?"),
bpt->number); bpt->number);
continue; break;
case bp_breakpoint: case bp_breakpoint:
case bp_tracepoint: case bp_tracepoint:
case bp_fast_tracepoint: case bp_fast_tracepoint:
@ -10942,8 +10942,9 @@ disable_command (char *args, int from_tty)
case bp_read_watchpoint: case bp_read_watchpoint:
case bp_access_watchpoint: case bp_access_watchpoint:
disable_breakpoint (bpt); disable_breakpoint (bpt);
break;
default: default:
continue; break;
} }
else if (strchr (args, '.')) else if (strchr (args, '.'))
{ {
@ -11031,7 +11032,7 @@ enable_command (char *args, int from_tty)
case bp_none: case bp_none:
warning (_("attempted to enable apparently deleted breakpoint #%d?"), warning (_("attempted to enable apparently deleted breakpoint #%d?"),
bpt->number); bpt->number);
continue; break;
case bp_breakpoint: case bp_breakpoint:
case bp_tracepoint: case bp_tracepoint:
case bp_fast_tracepoint: case bp_fast_tracepoint:
@ -11043,8 +11044,9 @@ enable_command (char *args, int from_tty)
case bp_read_watchpoint: case bp_read_watchpoint:
case bp_access_watchpoint: case bp_access_watchpoint:
enable_breakpoint (bpt); enable_breakpoint (bpt);
break;
default: default:
continue; break;
} }
else if (strchr (args, '.')) else if (strchr (args, '.'))
{ {