55 lines
1.6 KiB
Diff
55 lines
1.6 KiB
Diff
http://sourceware.org/ml/gdb-patches/2016-07/msg00180.html
|
|
Subject: [testsuite patch] Skip py-unwind.exp on x86_64 -m32
|
|
|
|
|
|
--vkogqOf2sHV7VnPd
|
|
Content-Type: text/plain; charset=us-ascii
|
|
Content-Disposition: inline
|
|
|
|
Hi,
|
|
|
|
(gdb) source /home/jkratoch/redhat/gdb-clean/gdb/testsuite/outputs/gdb.python/py-unwind/py-unwind.py^M
|
|
Python script imported^M
|
|
Python Exception <type 'exceptions.ValueError'> Bad register: ^M
|
|
(gdb) FAIL: gdb.python/py-unwind.exp: import python scripts
|
|
|
|
class TestUnwinder(Unwinder):
|
|
AMD64_RBP = 6
|
|
AMD64_RSP = 7
|
|
AMD64_RIP = 16
|
|
|
|
This was already discussed here:
|
|
Re: [testsuite patch] Fix gdb.btrace/tailcall-only.exp errors on x86_64-m32
|
|
https://sourceware.org/ml/gdb-patches/2016-04/msg00222.html
|
|
Message-ID: <20160411195537.GA22299@host1.jankratochvil.net>
|
|
but no GDB maintainer gave an answer how to run testsuite in cross-arch mode.
|
|
|
|
|
|
Jan
|
|
|
|
--vkogqOf2sHV7VnPd
|
|
Content-Type: text/plain; charset=us-ascii
|
|
Content-Disposition: inline; filename=1
|
|
|
|
gdb/testsuite/ChangeLog
|
|
2016-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
* gdb.python/py-unwind.exp: Test also ![is_lp64_target].
|
|
|
|
diff --git a/gdb/testsuite/gdb.python/py-unwind.exp b/gdb/testsuite/gdb.python/py-unwind.exp
|
|
index 5172a03..e31a472 100644
|
|
--- a/gdb/testsuite/gdb.python/py-unwind.exp
|
|
+++ b/gdb/testsuite/gdb.python/py-unwind.exp
|
|
@@ -28,7 +28,7 @@ if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
|
|
if { [skip_python_tests] } { continue }
|
|
|
|
# This test runs on a specific platform.
|
|
-if { ! [istarget x86_64-*]} { continue }
|
|
+if { ![istarget x86_64-*-* ] || ![is_lp64_target] } { continue }
|
|
|
|
# The following tests require execution.
|
|
|
|
|
|
--vkogqOf2sHV7VnPd--
|
|
|