diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-23 00:25:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-23 00:25:43 +0000 |
commit | 878d2171da6c4e602c22f4fcc32cbd83c17f3785 (patch) | |
tree | fbc1fee48f927bb7a1939e4245020e3f71d2eb27 /gdb/top.c | |
parent | 2304a2f886be1bb386a1f91a075b758ab84d1774 (diff) | |
download | gdb-878d2171da6c4e602c22f4fcc32cbd83c17f3785.tar.gz |
Add mi/ and testsuite/gdb.mi/ subdirectories.
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c index 9747d492912..6bd7648e08c 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -801,6 +801,17 @@ gdb_init (argv0) uiout = cli_out_new (gdb_stdout); #endif +#ifdef UI_OUT + /* All the interpreters should have had a look at things by now. + Initialize the selected interpreter. */ + if (interpreter_p && !init_ui_hook) + { + fprintf_unfiltered (gdb_stderr, "Interpreter `%s' unrecognized.\n", + interpreter_p); + exit (1); + } +#endif + if (init_ui_hook) init_ui_hook (argv0); } |