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

Message ID 1391678853-7392-1-git-send-email-omair.javaid@linaro.org
State New
Headers show

Commit Message

Omair Javaid Feb. 6, 2014, 9:27 a.m.
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(+)

Patch

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