From: Markus Metzger Date: Thu, 17 Dec 2020 08:34:54 +0000 (+0100) Subject: testsuite, gdb.btrace: remove implicit debug option in stepi.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26ed1478d1dd5568b3093476c07bcf36e0047443;p=binutils-gdb.git 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}. --- 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 }