summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-21 19:29:00 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-21 19:29:00 +0000
commit622c22b5eebac8624ec1a8b3fffe5775280d3b98 (patch)
tree7d2b8b0725c83c64fc72b1b38cdbbbb2f1387fe8
parent35f9d51c1607f5e7b2b466f955800db94b6024b2 (diff)
downloadgdb-622c22b5eebac8624ec1a8b3fffe5775280d3b98.tar.gz
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we
-rw-r--r--gdb/gdbtk/ChangeLog5
-rw-r--r--gdb/gdbtk/generic/gdbtk.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index f872f5d693b..fadc0b128f2 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,5 +1,10 @@
2001-08-21 Keith Seitz <keiths@redhat.com>
+ * generic/gdbtk.c (gdbtk_init): Gdb just fixed this. No
+ need for the workaround I just checked in anymore.
+
+2001-08-21 Keith Seitz <keiths@redhat.com>
+
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we
re-routed gdb_stdout to our own gdb_stdout.
diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c
index 7e7eaaa1c2e..7cdea6e596f 100644
--- a/gdb/gdbtk/generic/gdbtk.c
+++ b/gdb/gdbtk/generic/gdbtk.c
@@ -586,10 +586,6 @@ gdbtk_init (argv0)
gdb_stdtarg = gdbtk_fileopen ();
uiout = cli_out_new (gdb_stdout);
- /* We need to re-register the standard disassembler's
- output, since we just changed gdb_stdout. */
- tm_print_insn_info.stream = gdb_stdout;
-
#ifdef __CYGWIN32__
(void) FreeConsole ();
#endif