This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Disable gdb.dwarf2/implptr-64bit.exp for 32-bit targets
- From: Omair Javaid <omair dot javaid at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: patches at linaro dot org
- Date: Thu, 6 Feb 2014 14:27:33 +0500
- Subject: [PATCH] Disable gdb.dwarf2/implptr-64bit.exp for 32-bit targets
- Authentication-results: sourceware.org; auth=none
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