aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-13 02:35:39 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-13 02:35:39 +0000
commitc1043fc2c19efe25b2b183a7c550d5ba85d4c0e6 (patch)
tree33992f8388c297e887751b5b3fafb9eb24e55e1c /gdb/tui
parent2a78bfb53ccd6d78e97293502ae0b41ce4d120a5 (diff)
downloadfsf-binutils-gdb-c1043fc2c19efe25b2b183a7c550d5ba85d4c0e6.zip
fsf-binutils-gdb-c1043fc2c19efe25b2b183a7c550d5ba85d4c0e6.tar.gz
fsf-binutils-gdb-c1043fc2c19efe25b2b183a7c550d5ba85d4c0e6.tar.bz2
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c (exception_none): New variable. * Makefile.in: Update dependencies. * interps.c: Include "exceptions.h". (interpreter_exec_cmd, interp_exec): Update to return "struct exception" * exceptions.h (no_exception): Declare. * tui/tui-interp.c (tui_exec): Update to return "struct exception" * mi/mi-interp.c: Include "exceptions.h". (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return 'struct exception". * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) (do_captured_execute_command): Update to use catch_exception. * interps.h: Include "exceptions.h". (interp_exec_ftype, interp_exec): Return "struct exception".
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c
index b5c3b40..ced5dbd 100644
--- a/gdb/tui/tui-interp.c
+++ b/gdb/tui/tui-interp.c
@@ -106,7 +106,7 @@ tui_display_prompt_p (void *data)
return 1;
}
-static int
+static struct exception
tui_exec (void *data, const char *command_str)
{
internal_error (__FILE__, __LINE__, "tui_exec called");