[PATCH] Disable gdb.dwarf2/implptr-64bit.exp for 32-bit targets

Omair Javaid omair.javaid@linaro.org
Thu Feb 6 09:27:00 GMT 2014


This patch disables gdb.dwarf2/implptr-64bit.exp for all non 64-bit targets.

gdb/testsuite:

2014-02-06  Omair Javaid  <Omair.Javaid@linaro.org>

	* gdb.dwarf2/implptr-64bit.exp: Disable for 32-bit targets.

---
 gdb/testsuite/gdb.dwarf2/implptr-64bit.exp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp b/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
index 66e8dd6..c995d63 100644
--- a/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
+++ b/gdb/testsuite/gdb.dwarf2/implptr-64bit.exp
@@ -19,6 +19,11 @@ if {![dwarf2_support]} {
     return 0  
 }
 
+# This test can only be run on 64-bit targets.
+if {![is_64_target]} {
+    return 0  
+}
+
 standard_testfile .S
 set mainfile main.c
 
-- 
1.8.3.2



More information about the Gdb-patches mailing list