aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-08-10 14:42:22 -0600
committerTom Tromey <tom@tromey.com>2022-12-19 07:47:37 -0700
commit975249ff4e260453217f4a98b1033b0c7a6e6dc5 (patch)
treebee0f6f082ee6dc4c277683b1bbde7800b9e2a4d /gdb/main.c
parentd1c34a1b4c4ee82744f7f8215b23706c329b63e6 (diff)
downloadbinutils-975249ff4e260453217f4a98b1033b0c7a6e6dc5.zip
binutils-975249ff4e260453217f4a98b1033b0c7a6e6dc5.tar.gz
binutils-975249ff4e260453217f4a98b1033b0c7a6e6dc5.tar.bz2
Remove MI version 1
MI version 1 is long since obsolete. Several years ago, I filed PR mi/23170 for this. I think it's finally time to remove this. Any users of MI 1 can and should upgrade to a newer version. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=23170
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 8d2666e..08ae069 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1124,31 +1124,11 @@ captured_main_1 (struct captured_main_args *context)
exit (0);
}
- /* FIXME: cagney/2003-02-03: The big hack (part 1 of 2) that lets
- GDB retain the old MI1 interpreter startup behavior. Output the
- copyright message before the interpreter is installed. That way
- it isn't encapsulated in MI output. */
- if (!quiet && interpreter_p == INTERP_MI1)
- {
- /* Print all the junk at the top, with trailing "..." if we are
- about to read a symbol file (possibly slowly). */
- print_gdb_version (gdb_stdout, true);
- if (symarg)
- gdb_printf ("..");
- gdb_printf ("\n");
- gdb_flush (gdb_stdout); /* Force to screen during slow
- operations. */
- }
-
/* Install the default UI. All the interpreters should have had a
look at things by now. Initialize the default interpreter. */
set_top_level_interpreter (interpreter_p.c_str ());
- /* FIXME: cagney/2003-02-03: The big hack (part 2 of 2) that lets
- GDB retain the old MI1 interpreter startup behavior. Output the
- copyright message after the interpreter is installed when it is
- any sane interpreter. */
- if (!quiet && !current_interp_named_p (INTERP_MI1))
+ if (!quiet)
{
/* Print all the junk at the top, with trailing "..." if we are
about to read a symbol file (possibly slowly). */