]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.base/linespecs.exp
Update copyright year range in all GDB files.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / linespecs.exp
CommitLineData
42a4f53d 1# Copyright 2011-2019 Free Software Foundation, Inc.
1d93e29a
KS
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# Linespec tests
17
18# We don't currently need our own test case for testing, so grab
19# another one.
20
5b362f04 21if {[prepare_for_testing "failed to prepare" linespecs memattr.c]} {
1d93e29a
KS
22 return -1
23}
24
25# PR gdb/12843
26gdb_test "list c:/foo/bar/baz.c:1" "No source file named c:/foo/bar/baz.c."
27gdb_test "list c:/foo/bar/baz.c" "Function \"c:/foo/bar/baz.c\" not defined."
28gdb_test "list fooc:/foo/bar/baz.c:1" "No source file named fooc."
29gdb_test "list fooc:/foo/bar/baz.c" "No source file named fooc."