diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-18 06:31:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-18 06:31:24 +0000 |
commit | 9e14a9ba25afb7116d7220271973cd11fe2d6902 (patch) | |
tree | 6e115a8061ce5c739e25d15fd218258b5f28fe00 /gdb/testsuite/gdb.python/source1 | |
parent | 8150ff9c32f8cdd49dc8abe4ec15c48185c0924b (diff) | |
download | gdb-9e14a9ba25afb7116d7220271973cd11fe2d6902.zip gdb-9e14a9ba25afb7116d7220271973cd11fe2d6902.tar.gz gdb-9e14a9ba25afb7116d7220271973cd11fe2d6902.tar.bz2 |
* gdb.python/source2.py: New file.
* gdb.python/source1: New file.
* gdb.python/python.exp: Test "source" command.
Diffstat (limited to 'gdb/testsuite/gdb.python/source1')
-rw-r--r-- | gdb/testsuite/gdb.python/source1 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/source1 b/gdb/testsuite/gdb.python/source1 new file mode 100644 index 0000000..f9c19bd --- /dev/null +++ b/gdb/testsuite/gdb.python/source1 @@ -0,0 +1,19 @@ +# This testcase is part of GDB, the GNU debugger. + +# Copyright 2008, 2009, 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/>. + +# This is sourced as python; pick an expression that is not valid for gdb. +print 'y%ss' % 'e' |