diff options
author | Doug Evans <dje@google.com> | 2010-04-07 03:42:55 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-04-07 03:42:55 +0000 |
commit | 96e398662d34c0e443e76800974d81cfb3ead3f4 (patch) | |
tree | d39b5683fd218ee3b4e1a5ffab988e0f3bc8f92e /gdb/cli | |
parent | 6f8bcf84a1bc7412dfee32328b370b6c4599a103 (diff) | |
download | gdb-96e398662d34c0e443e76800974d81cfb3ead3f4.zip gdb-96e398662d34c0e443e76800974d81cfb3ead3f4.tar.gz gdb-96e398662d34c0e443e76800974d81cfb3ead3f4.tar.bz2 |
* cli/cli-cmds.c (source_command): Run cleanups.
testsuite/
* gdb.base/source-test.gdb: New file.
* gdb.base/source.exp: Test source -v.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index bc79258..ae0be7a 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -599,6 +599,8 @@ source_command (char *args, int from_tty) } source_script (file, from_tty); + + do_cleanups (old_cleanups); } |