Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA/testcase] Enable overlays.exp only for sim target
@ 2004-10-01  9:10 Kei Sakamoto
  2004-10-01 21:31 ` Michael Snyder
  0 siblings, 1 reply; 6+ messages in thread
From: Kei Sakamoto @ 2004-10-01  9:10 UTC (permalink / raw)
  To: gdb-patches

[-- 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";

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

end of thread, other threads:[~2004-10-08 18:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01  9:10 [RFA/testcase] Enable overlays.exp only for sim target Kei Sakamoto
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

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