* cli/cli-cmds.c (source_command): Run cleanups.

testsuite/
	* gdb.base/source-test.gdb: New file.
	* gdb.base/source.exp: Test source -v.
This commit is contained in:
Doug Evans 2010-04-07 03:42:55 +00:00
parent 6f8bcf84a1
commit 96e398662d
5 changed files with 48 additions and 1 deletions

View file

@ -599,6 +599,8 @@ source_command (char *args, int from_tty)
}
source_script (file, from_tty);
do_cleanups (old_cleanups);
}