Fix a bug in the test where we were missing "additional_flags=",
causing -gstatement-frontiers not to be passed to the compiler.
The issue was introduced in
eb24648c453c28f2898fb599311ba004394a8b41 ("Fix gdb.cp/step-and-next-inline.exp with Clang").
gdb/testsuite:
2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gdb.cp/step-and-next-inline.exp: Fix test case.
+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.
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