diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/annota1.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/annota1.exp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 6f4be434b44..bd714cabc57 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -491,11 +491,10 @@ if [ regexp "core not found" $exec_output] { } proc thread_test {} { - global objdir subdir srcdir + global objdir subdir srcdir testfile global gdb_prompt old_gdb_prompt - set testfile "watch_thread_num" - set srcfile ${testfile}.c - set binfile ${objdir}/${subdir}/${testfile} + set srcfile watch_thread_num.c + set binfile ${objdir}/${subdir}/${testfile}-watch_thread_num set gdb_prompt $old_gdb_prompt if { ![get_compiler_info ${binfile}] && [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] == "" } { |