9 set srcfile ${objdir}/${subdir}/${testfile}.c
10 set binfile ${objdir}/${subdir}/${testfile}
12 execute_anywhere "echo #include \\\"twice.c\\\" > ${srcfile}"
13 if { [compile "${srcfile} -g -I${srcdir}/${subdir} -o ${binfile}"] != "" } {
14 perror "Couldn't compile ${srcfile}"
18 # Start with a fresh gdb.
22 gdb_reinitialize_dir $srcdir/$subdir
25 if [runto_main] then {
26 # Test that GDB can still detect whether we have line numbers
27 # even if we're executing code in an include file.
29 # The bug was fixed by
30 #Tue Jun 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32 # * infrun.c (wait_for_inferior): Use find_pc_line not
33 # find_pc_symtab to check whether there is line number
36 gdb_test "step" "nothing \\(\\) at.*"