[Patch] testsuite/gdb.pascal/hello.exp (binfile): Use ${EXEEXT}

Pierre Muller muller@ics.u-strasbg.fr
Thu Jan 31 14:58:00 GMT 2008


I committed this as 
pascal language maintainer.

Pierre Muller

testsuite/ChangeLog entry:

2008-01-31  Pierre Muller  <muller@ics.u-strasbg.fr>

       * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.

Index: gdb.pascal/hello.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.pascal/hello.exp,v
retrieving revision 1.2
diff -u -p -r1.2 hello.exp
--- gdb.pascal/hello.exp        1 Jan 2008 22:53:21 -0000       1.2
+++ gdb.pascal/hello.exp        31 Jan 2008 14:44:15 -0000
@@ -21,7 +21,7 @@ load_lib "pascal.exp"

 set testfile "hello"
 set srcfile ${testfile}.pas
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/${testfile}${EXEEXT}

 if {[gdb_compile_pascal "${srcdir}/${subdir}/${srcfile}" "${binfile}"
executabl
e [list debug ]] != "" } {
   return -1




More information about the Gdb-patches mailing list