Fix passing debug options for gcc
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 3 Nov 2020 17:41:43 +0000 (18:41 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 31 Dec 2020 07:38:19 +0000 (08:38 +0100)
commit4ff509e75bf3488c302bea86b0db3dcdcad30818
tree089a444e79a0bed2c7419e2cff6698096ec572a0
parent391750c3554861181bc58aabe75cd4eae91b7f48
Fix passing debug options for gcc

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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/step-and-next-inline.exp