[Lldb-commits] [PATCH] D23395: Make sure LldbGdbServerTestCase is built in arm mode to avoid failures due thumb instructions
Muhammad Omair Javaid via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 11 03:43:05 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL278326: Make sure LldbGdbServerTestCase is built in arm mode to avoid failures due… (authored by omjavaid).
Changed prior to commit:
https://reviews.llvm.org/D23395?vs=67663&id=67670#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23395
Files:
lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/Makefile
lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
Index: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/Makefile
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/Makefile
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../../make
-CFLAGS_EXTRAS += -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
+override CFLAGS_EXTRAS += -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
ENABLE_THREADS := YES
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO
Index: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
@@ -1233,15 +1233,23 @@
@debugserver_test
def test_software_breakpoint_set_and_remove_work_debugserver(self):
self.init_debugserver_test()
- self.build()
+ if self.getArchitecture() == "arm":
+ # TODO: Handle case when setting breakpoint in thumb code
+ self.build(dictionary={'CFLAGS_EXTRAS': '-marm'})
+ else:
+ self.build()
self.set_inferior_startup_launch()
self.software_breakpoint_set_and_remove_work()
@llgs_test
@expectedFlakeyLinux("llvm.org/pr25652")
def test_software_breakpoint_set_and_remove_work_llgs(self):
self.init_llgs_test()
- self.build()
+ if self.getArchitecture() == "arm":
+ # TODO: Handle case when setting breakpoint in thumb code
+ self.build(dictionary={'CFLAGS_EXTRAS': '-marm'})
+ else:
+ self.build()
self.set_inferior_startup_launch()
self.software_breakpoint_set_and_remove_work()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23395.67670.patch
Type: text/x-patch
Size: 1858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160811/f8db1232/attachment.bin>
More information about the lldb-commits
mailing list