1999-01-29 James Ingham <jingham@cygnus.com>
authorJim Ingham <jingham@apple.com>
Sat, 30 Jan 1999 04:20:31 +0000 (04:20 +0000)
committerJim Ingham <jingham@apple.com>
Sat, 30 Jan 1999 04:20:31 +0000 (04:20 +0000)
commit1d70b547cb62cd3b23dfc5df091e119eed78ccc7
tree4ca7435e9d36882ac5e3a01836242f0c9636aff7
parentb845066654fb6cf4ec1ffb9724e035364286924c
1999-01-29  James Ingham  <jingham@cygnus.com>

* gdbtk.c (gdbtk_init): Set the fputs_unfiltered_hook to
gdbtk_fputs BEFORE you eval script.  The old code was setting it
to null until after you did this, but that is wrong, because it
will cause the output of CAUGHT errors to go to gdb_stderr, which
is wrong.  You only want to write errors to the console if the
eval generates an error.
gdb/ChangeLog-gdbtk
gdb/gdbtk.c