aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-break.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-cmd-break.c')
-rw-r--r--gdb/mi/mi-cmd-break.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 75e100f..5061392 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -1,5 +1,5 @@
/* MI Command Set - breakpoint and watchpoint commands.
- Copyright 2000, 2001 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
@@ -230,19 +230,13 @@ mi_cmd_break_watch (char *command, char **argv, int argc)
switch (type)
{
case REG_WP:
-#ifdef UI_OUT
watch_command_wrapper (expr, FROM_TTY);
-#endif
break;
case READ_WP:
-#ifdef UI_OUT
rwatch_command_wrapper (expr, FROM_TTY);
-#endif
break;
case ACCESS_WP:
-#ifdef UI_OUT
awatch_command_wrapper (expr, FROM_TTY);
-#endif
break;
default:
error ("mi_cmd_break_watch: Unknown watchpoint type.");