Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Use $EXEEXT to sepdebug.exp and sepsymtab.exp
@ 2007-10-29 22:55 Pedro Alves
  2007-10-29 23:37 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2007-10-29 22:55 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Hi,

This is needed on Windows plaforms.  Strip and objcopy don't
automatically add .exe.

Cheers,
Pedro Alves

[-- Attachment #2: sepdebug.exp.win.diff --]
[-- Type: text/x-diff, Size: 1491 bytes --]

2007-10-29  Pedro Alves  <pedro_alves@portugalmail.pt>

	* gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
	* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.

---
 gdb/testsuite/gdb.base/sepdebug.exp  |    2 +-
 gdb/testsuite/gdb.base/sepsymtab.exp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: src/gdb/testsuite/gdb.base/sepdebug.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.base/sepdebug.exp	2007-10-29 20:30:18.000000000 +0000
+++ src/gdb/testsuite/gdb.base/sepdebug.exp	2007-10-29 20:30:22.000000000 +0000
@@ -41,7 +41,7 @@ set bug_id 0
 
 set testfile "sepdebug"
 set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/${testfile}${EXEEXT}
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
     untested sepdebug.exp
Index: src/gdb/testsuite/gdb.base/sepsymtab.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.base/sepsymtab.exp	2007-10-29 20:29:54.000000000 +0000
+++ src/gdb/testsuite/gdb.base/sepsymtab.exp	2007-10-29 20:30:38.000000000 +0000
@@ -23,7 +23,7 @@ if $tracelevel then {
 
 set testfile "sepsymtab"
 set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/${testfile}${EXEEXT}
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
 	  executable {debug}] != "" } {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-30 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-29 22:55 Use $EXEEXT to sepdebug.exp and sepsymtab.exp Pedro Alves
2007-10-29 23:37 ` Daniel Jacobowitz
2007-10-30 20:09   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox