2005-01-16 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sun, 16 Jan 2005 21:20:06 +0000 (21:20 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 16 Jan 2005 21:20:06 +0000 (21:20 +0000)
commit17d92a02195a3dc9d3d3b6d46b22cb187eeccd19
treebbcbf99ae0d66e7176859a9ba9efa697c53f4b82
parentae03635710dcd5a17dbe0fbf3971d079281eeede
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* cli/cli-script.c: Include "exceptions.h".
(struct wrapped_read_command_file_args): Define.
(wrapped_read_command_file): New function.
(script_from_file): Replace direct call to read_command_file by
one wrapped by an exception handler.
* exceptions.c (throw_it): Free the old message after creating the
new.
* Makefile.in: Update dependencies.

Index: testsuite/ChangeLog
2005-01-16  Andrew Cagney  <cagney@gnu.org>

* gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
gdb/ChangeLog
gdb/Makefile.in
gdb/cli/cli-script.c
gdb/exceptions.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/source.exp