aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/twice.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/twice.exp')
-rw-r--r--gdb/testsuite/gdb.base/twice.exp38
1 files changed, 0 insertions, 38 deletions
diff --git a/gdb/testsuite/gdb.base/twice.exp b/gdb/testsuite/gdb.base/twice.exp
deleted file mode 100644
index b29f6c7..0000000
--- a/gdb/testsuite/gdb.base/twice.exp
+++ /dev/null
@@ -1,38 +0,0 @@
-if $tracelevel then {
- strace $tracelevel
-}
-
-set prms_id 0
-set bug_id 0
-
-set testfile twice-tmp
-set srcfile ${objdir}/${subdir}/${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
-
-execute_anywhere "echo #include \\\"twice.c\\\" > ${srcfile}"
-if { [compile "${srcfile} -g -I${srcdir}/${subdir} -o ${binfile}"] != "" } {
- perror "Couldn't compile ${srcfile}"
- return -1
-}
-
-# Start with a fresh gdb.
-
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load $binfile
-
-if [runto_main] then {
- # Test that GDB can still detect whether we have line numbers
- # even if we're executing code in an include file.
-
- # The bug was fixed by
- #Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
- #
- # * infrun.c (wait_for_inferior): Use find_pc_line not
- # find_pc_symtab to check whether there is line number
- # information.
-
- gdb_test "step" "nothing \\(\\) at.*"
-}
-return 0