Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro_alves@portugalmail.pt>
To: gdb-patches@sourceware.org
Subject: Use $EXEEXT to sepdebug.exp and sepsymtab.exp
Date: Mon, 29 Oct 2007 22:55:00 -0000	[thread overview]
Message-ID: <47266227.1020800@portugalmail.pt> (raw)

[-- 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}] != "" } {

             reply	other threads:[~2007-10-29 22:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 22:55 Pedro Alves [this message]
2007-10-29 23:37 ` Daniel Jacobowitz
2007-10-30 20:09   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47266227.1020800@portugalmail.pt \
    --to=pedro_alves@portugalmail.pt \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox