diff options
author | Martin Hunt <hunt@redhat.com> | 2001-04-05 00:04:45 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2001-04-05 00:04:45 +0000 |
commit | 6457bd476178a8cac32638d2e5d6cf0977a88e69 (patch) | |
tree | da3f7a6b8d83c064c187c873343b715ba8fc12f9 /gdb | |
parent | 3df1b9b49d36c0fb42077b2deece480317978e5b (diff) | |
download | gdb-6457bd476178a8cac32638d2e5d6cf0977a88e69.zip gdb-6457bd476178a8cac32638d2e5d6cf0977a88e69.tar.gz gdb-6457bd476178a8cac32638d2e5d6cf0977a88e69.tar.bz2 |
2001-04-04 Martin M. Hunt <hunt@redhat.com>
* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/main.c | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9f8a50..47ce9fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-04-04 Martin M. Hunt <hunt@redhat.com> + + * main.c (captured_main): For GDBtk, don't use tui_fileopen(). + Handle all stream setup in gdbtk_init + 2001-04-04 Mark Kettenis <kettenis@gnu.org> * i386-tdep.c (i386_extract_return_value): Don't return the return @@ -35,7 +35,8 @@ #include "gdb_string.h" #include "event-loop.h" #include "ui-out.h" -#if defined (TUI) || defined (GDBTK) + +#if defined (TUI) /* FIXME: cagney/2000-01-31: This #include is to allow older code such as that found in the TUI to continue to build. */ #include "tui/tui-file.h" @@ -199,10 +200,7 @@ captured_main (void *data) getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)); current_directory = gdb_dirbuf; -#if defined (TUI) || defined (GDBTK) - /* Older code uses the tui_file and fputs_unfiltered_hook(). It - should be using a customized UI_FILE object and re-initializing - within its own _initialize function. */ +#if defined (TUI) gdb_stdout = tui_fileopen (stdout); gdb_stderr = tui_fileopen (stderr); gdb_stdlog = gdb_stdout; /* for moment */ |