diff options
author | Tom Tromey <tromey@adacore.com> | 2022-08-10 14:01:16 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-08-31 11:03:39 -0600 |
commit | 10d6fc874c0201bd28c57525fc9465f2bcd680ec (patch) | |
tree | 8d5a545dfc31f0882cb1a1a267f628331ebb86a0 /gdb | |
parent | 51cacdb50fd2ac2240172a63140e56c0adb41742 (diff) | |
download | gdb-10d6fc874c0201bd28c57525fc9465f2bcd680ec.zip gdb-10d6fc874c0201bd28c57525fc9465f2bcd680ec.tar.gz gdb-10d6fc874c0201bd28c57525fc9465f2bcd680ec.tar.bz2 |
Remove some dead code
This patch removes some dead code and an old FIXME. These no longer
seem useful, even for documentation purposes.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/event-top.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index 4547d61..a06221b 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -1380,19 +1380,6 @@ gdb_disable_readline (void) { struct ui *ui = current_ui; - /* FIXME - It is too heavyweight to delete and remake these every - time you run an interpreter that needs readline. It is probably - better to have the interpreters cache these, which in turn means - that this needs to be moved into interpreter specific code. */ - -#if 0 - ui_file_delete (gdb_stdout); - ui_file_delete (gdb_stderr); - gdb_stdlog = NULL; - gdb_stdtarg = NULL; - gdb_stdtargerr = NULL; -#endif - if (ui->command_editing) gdb_rl_callback_handler_remove (); ui->unregister_file_handler (); |