aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2020-12-17 09:34:54 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2021-03-03 09:17:34 +0100
commit26ed1478d1dd5568b3093476c07bcf36e0047443 (patch)
treefd2ea8670e11d3dbc891e0ee60565fe43202fb27 /gdb
parentd2c5f24eed249325d4883d6096b5dd3e8bc0ec00 (diff)
downloadbinutils-26ed1478d1dd5568b3093476c07bcf36e0047443.zip
binutils-26ed1478d1dd5568b3093476c07bcf36e0047443.tar.gz
binutils-26ed1478d1dd5568b3093476c07bcf36e0047443.tar.bz2
testsuite, gdb.btrace: remove implicit debug option in stepi.exp
We use pre-compiled assembly including debug information for stepi, yet we compiled with -g, which was implicitly set by prepare_for_testing. Add {} options to avoid the implicit {debug}.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.btrace/stepi.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1e79a14..12ee7b9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
+ * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
+
+2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
+
* gdb.btrace/exception.cc (main): Update test source.
* gdb.btrace/exception.exp: Update patterns.
* gdb.btrace/function_call_history.exp: Likewise.
diff --git a/gdb/testsuite/gdb.btrace/stepi.exp b/gdb/testsuite/gdb.btrace/stepi.exp
index bfb680b..480c08c 100644
--- a/gdb/testsuite/gdb.btrace/stepi.exp
+++ b/gdb/testsuite/gdb.btrace/stepi.exp
@@ -44,7 +44,7 @@ if [info exists COMPILE] {
return -1
}
-if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
+if [prepare_for_testing "failed to prepare" $testfile $srcfile {}] {
return -1
}