Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Kei Sakamoto" <sakamoto.kei@renesas.com>
To: <gdb-patches@sources.redhat.com>
Subject: [RFA/testcase] Enable overlays.exp only for sim target
Date: Fri, 01 Oct 2004 09:10:00 -0000	[thread overview]
Message-ID: <01ba01c4a796$8037a580$5169910a@E5A02646> (raw)

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

Hello,

The attached patch ensables overlays.exp test only for sim target.
Because overlay function does not work for other targets.

OK to commit?

2004-10-01    Kei Sakamoto  <sakamoto.kei@renesas.com>

        * gdb.base/overlays.exp: Enable only for sim target.

[-- Attachment #2: overlays.patch --]
[-- Type: application/octet-stream, Size: 727 bytes --]

Index: gdb.base/overlays.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/overlays.exp,v
retrieving revision 1.5
diff -u -r1.5 overlays.exp
--- gdb.base/overlays.exp	20 Jan 2003 15:40:07 -0000	1.5
+++ gdb.base/overlays.exp	1 Oct 2004 08:41:38 -0000
@@ -30,7 +30,10 @@
 set prms_id 0
 set bug_id 0
 
-if [istarget "d10v-*-*"] then {
+if { [istarget info protocol] != "sim" } {
+    verbose "Skipping overlay test -- only available for sim."
+    return 
+} elseif [istarget "d10v-*-*"] then {
     set linker_script "${srcdir}/${subdir}/d10v.ld";
 } elseif [istarget "m32r-*-*"] then {
     set linker_script "${srcdir}/${subdir}/m32r.ld";

             reply	other threads:[~2004-10-01  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01  9:10 Kei Sakamoto [this message]
2004-10-01 21:31 ` Michael Snyder
2004-10-05  4:52   ` Kei Sakamoto
2004-10-07 18:26     ` Michael Snyder
2004-10-08  1:03       ` Kei Sakamoto
2004-10-08 18:13         ` Michael Chastain

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='01ba01c4a796$8037a580$5169910a@E5A02646' \
    --to=sakamoto.kei@renesas.com \
    --cc=gdb-patches@sources.redhat.com \
    /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