aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/source-test.gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-04-07 03:42:55 +0000
committerDoug Evans <dje@google.com>2010-04-07 03:42:55 +0000
commit96e398662d34c0e443e76800974d81cfb3ead3f4 (patch)
treed39b5683fd218ee3b4e1a5ffab988e0f3bc8f92e /gdb/testsuite/gdb.base/source-test.gdb
parent6f8bcf84a1bc7412dfee32328b370b6c4599a103 (diff)
downloadgdb-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/testsuite/gdb.base/source-test.gdb')
-rw-r--r--gdb/testsuite/gdb.base/source-test.gdb20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/source-test.gdb b/gdb/testsuite/gdb.base/source-test.gdb
new file mode 100644
index 0000000..76cf645
--- /dev/null
+++ b/gdb/testsuite/gdb.base/source-test.gdb
@@ -0,0 +1,20 @@
+# This testcase is part of GDB, the GNU debugger.
+
+# Copyright 2010 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Test GDB's "source" command options.
+
+echo test source options\n