From 26ed1478d1dd5568b3093476c07bcf36e0047443 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Thu, 17 Dec 2020 09:34:54 +0100 Subject: [PATCH] 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}. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.btrace/stepi.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1e79a145cc1..12ee7b93064 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-03-03 Markus Metzger + + * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing. + 2021-03-03 Markus Metzger * gdb.btrace/exception.cc (main): Update test source. diff --git a/gdb/testsuite/gdb.btrace/stepi.exp b/gdb/testsuite/gdb.btrace/stepi.exp index bfb680bb30d..480c08c4875 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 } -- 2.30.2