diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/step-and-next-inline.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 841078a..c61fab8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de> + + * gdb.cp/step-and-next-inline.exp: Fix test case. + 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca> * gdb.python/py-frame-args.exp: De-duplicate test names. diff --git a/gdb/testsuite/gdb.cp/step-and-next-inline.exp b/gdb/testsuite/gdb.cp/step-and-next-inline.exp index 43a7101..08a4b88 100644 --- a/gdb/testsuite/gdb.cp/step-and-next-inline.exp +++ b/gdb/testsuite/gdb.cp/step-and-next-inline.exp @@ -38,7 +38,7 @@ proc do_test { use_header } { set options {c++ debug nowarnings optimize=-O2} if { [supports_statement_frontiers] } { - lappend options -gstatement-frontiers + lappend options additional_flags=-gstatement-frontiers } if { $use_header } { lappend options additional_flags=-DUSE_NEXT_INLINE_H |