aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi2-file.exp
diff options
context:
space:
mode:
authorBob Rossi <bob@brasko.net>2004-07-08 01:57:51 +0000
committerBob Rossi <bob@brasko.net>2004-07-08 01:57:51 +0000
commitbcc82369d233afc216faa4480bb549e121781bff (patch)
tree1027f47b04b1b56763f37fc9ec25d06edff30d26 /gdb/testsuite/gdb.mi/mi2-file.exp
parentca0ec6f95c6a017ef498d50e906e0f81f2a71c87 (diff)
downloadgdb-bcc82369d233afc216faa4480bb549e121781bff.zip
gdb-bcc82369d233afc216faa4480bb549e121781bff.tar.gz
gdb-bcc82369d233afc216faa4480bb549e121781bff.tar.bz2
I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-file.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi2-file.exp12
1 files changed, 1 insertions, 11 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-file.exp b/gdb/testsuite/gdb.mi/mi2-file.exp
index 9742e2c..1d2a417 100644
--- a/gdb/testsuite/gdb.mi/mi2-file.exp
+++ b/gdb/testsuite/gdb.mi/mi2-file.exp
@@ -1,4 +1,4 @@
-# Copyright 1999 Free Software Foundation, Inc.
+# Copyright 1999, 2004 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
@@ -59,17 +59,7 @@ proc test_file_list_exec_source_file {} {
"request path info of current source file (${srcfile})"
}
-proc test_file_list_exec_source_files {} {
- global srcfile
-
- # get the path and absolute path to the current executable
- mi_gdb_test "222-file-list-exec-source-files" \
- "222\\\^done,files=\\\[\{file=\".*/${srcfile}\",fullname=\"/.*/${srcfile}\"\},\{file=\".*\"\},\{file=\".*\"\},\{file=\".*\"\},\{file=\".*\"\}\\\]" \
- "Getting a list of source files."
-}
-
test_file_list_exec_source_file
-test_file_list_exec_source_files
mi_gdb_exit
return 0