OSDN Git Service

2005-01-16 Andrew Cagney <cagney@gnu.org>
authorcagney <cagney>
Sun, 16 Jan 2005 21:20:04 +0000 (21:20 +0000)
committercagney <cagney>
Sun, 16 Jan 2005 21:20:04 +0000 (21:20 +0000)
commita6b23947bb047a80172e3be8368f48a5869244aa
tree1cffe9810201cd452aedc1f2f52fd190c1eb1e32
parent8d081cc1e8ce0718e2d656d7b41e190d143ad2b7
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