-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 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
set srcfile "$testfile.c"
set binfile "$objdir/$subdir/$testfile"
-set options [list debug incdir=$subdir]
+set options [list debug incdir=$objdir]
if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options]
!= "" } {
gdb_suppress_entire_file \