Index: test/tools/lldb-mi/breakpoint/TestMiBreak.py =================================================================== --- test/tools/lldb-mi/breakpoint/TestMiBreak.py +++ test/tools/lldb-mi/breakpoint/TestMiBreak.py @@ -13,7 +13,6 @@ @lldbmi_test @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") @skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races - @expectedFailureGcc #xfail to get buildbot green, test failed with gcc4.8.2 def test_lldbmi_break_insert_function_pending(self): """Test that 'lldb-mi --interpreter' works for pending function breakpoints.""" @@ -32,7 +31,6 @@ @lldbmi_test @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") @skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races - @expectedFailureGcc #xfail to get buildbot green, test failed with gcc4.8.2 def test_lldbmi_break_insert_function(self): """Test that 'lldb-mi --interpreter' works for function breakpoints.""" @@ -79,7 +77,6 @@ @lldbmi_test @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows") @skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races - @expectedFailureGcc #xfail to get buildbot green, test failed with gcc4.8.2 def test_lldbmi_break_insert_file_line(self): """Test that 'lldb-mi --interpreter' works for file:line breakpoints.""" Index: test/tools/lldb-mi/breakpoint/main.cpp =================================================================== --- test/tools/lldb-mi/breakpoint/main.cpp +++ test/tools/lldb-mi/breakpoint/main.cpp @@ -12,6 +12,6 @@ int main(int argc, char const *argv[]) { - printf(""); + printf("Print a formatted string so that GCC does not optimize this printf call: %s\n", argv[0]); return 0; // BP_return }