diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-01-17 22:15:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-01-17 22:15:18 +0000 |
commit | 8926118ce27a8c21cd8d8600bb068454ec58baf3 (patch) | |
tree | 11dff4edfcc5ae3afb6f2559aab5616b2d075006 /gdb/mi/mi-cmd-stack.c | |
parent | db728ff7cd9b6832a77ae09b75b94352b1820471 (diff) | |
download | gdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.zip gdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.tar.gz gdb-8926118ce27a8c21cd8d8600bb068454ec58baf3.tar.bz2 |
Remove else clause to #if UI_OUT.
Diffstat (limited to 'gdb/mi/mi-cmd-stack.c')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index e9f2dba..f6c7d10 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -1,5 +1,5 @@ /* MI Command Set - stack commands. - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2002 Free Software Foundation, Inc. Contributed by Cygnus Solutions (a Red Hat company). This file is part of GDB. @@ -27,12 +27,10 @@ #include "ui-out.h" #include "symtab.h" -#ifdef UI_OUT /* FIXME: these should go in some .h file but stack.c doesn't have a corresponding .h file. These wrappers will be obsolete anyway, once we pull the plug on the sanitization. */ extern void select_frame_command_wrapper (char *, int); -#endif static void list_args_or_locals (int locals, int values, struct frame_info *fi); @@ -295,7 +293,6 @@ list_args_or_locals (int locals, int values, struct frame_info *fi) enum mi_cmd_result mi_cmd_stack_select_frame (char *command, char **argv, int argc) { -#ifdef UI_OUT if (!target_has_stack) error ("mi_cmd_stack_select_frame: No stack."); @@ -307,6 +304,5 @@ mi_cmd_stack_select_frame (char *command, char **argv, int argc) select_frame_command_wrapper (0, 1 /* not used */ ); else select_frame_command_wrapper (argv[0], 1 /* not used */ ); -#endif return MI_CMD_DONE; } |