diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-04-23 14:12:25 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-04-23 14:12:25 +0100 |
commit | ba22ff8694e366fe5f27824566aae65fc6626841 (patch) | |
tree | d50eee59fce91938e183da3cb4ed8b461f8ef6d5 /gdb/testsuite/gdb.trace/collection.exp | |
parent | 624a24513d2dcf7f2c2d42dbdf6d86be2f6d74aa (diff) | |
download | gdb-ba22ff8694e366fe5f27824566aae65fc6626841.zip gdb-ba22ff8694e366fe5f27824566aae65fc6626841.tar.gz gdb-ba22ff8694e366fe5f27824566aae65fc6626841.tar.bz2 |
Testsuite: Remove pie from trace tests
Ubuntu/Debian defaults PIE to enabled. This causes the trace tests
to fall over due to variables being returned as "unavailable". The
tests were never designed to work with pie.
Simply ensure the nopie flag is always used for the failing tests.
This removes 100+ failures when running native-gdbserver on Ubuntu 18.04.
gdb/testsuite/ChangeLog:
* gdb.trace/backtrace.exp: Use nopie flag.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/ftrace.exp: Likewise.
* gdb.trace/mi-trace-unavailable.exp: Likewise.
* gdb.trace/mi-traceframe-changed.exp: Likewise.
* gdb.trace/qtro.exp: Likewise.
* gdb.trace/read-memory.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfile.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/unavailable.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.trace/collection.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/collection.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/collection.exp b/gdb/testsuite/gdb.trace/collection.exp index 8c06438..44eccbe 100644 --- a/gdb/testsuite/gdb.trace/collection.exp +++ b/gdb/testsuite/gdb.trace/collection.exp @@ -19,7 +19,7 @@ load_lib "trace-support.exp" standard_testfile set executable $testfile -if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarnings}]} { +if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarnings nopie}]} { return -1 } |