aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2020-11-10 16:07:36 +0000
committerGary Benson <gbenson@redhat.com>2020-11-10 16:07:36 +0000
commiteb24648c453c28f2898fb599311ba004394a8b41 (patch)
treea19c2c9d7bdf9221f07702c6f2a678e12c9e4adb /gdb/objc-lang.c
parent1f57314183549008c065ad2240598d2b0f0ff56b (diff)
downloadbinutils-eb24648c453c28f2898fb599311ba004394a8b41.zip
binutils-eb24648c453c28f2898fb599311ba004394a8b41.tar.gz
binutils-eb24648c453c28f2898fb599311ba004394a8b41.tar.bz2
Fix gdb.cp/step-and-next-inline.exp with Clang
Clang fails to compile gdb.cp/step-and-next-inline.cc, with the following error: clang-12: error: unknown argument: '-gstatement-frontiers' compiler exited with status 1 This commit fixes the testcase by only passing -gstatement-frontiers when building with GCC. This commit also alters two checks marked as known failures, to mark them as known failures only when built using GCC. gdb/testsuite/ChangeLog: * gdb.cp/step-and-next-inline.exp: Only require -gstatement-frontiers when building with GCC. Only setup KFAIL's for GCC issues when using a GCC-built executable.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions