[Lldb-commits] [PATCH] D15834: Handle hardcoded breakpoints on Windows (e.g., int3 or __debugbreak())

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 30 17:06:46 PST 2015


amccarth created this revision.
amccarth added a reviewer: zturner.
amccarth added a subscriber: lldb-commits.

No hurry on the review.  This can go in next year. :-)

This required a little rejiggering of ProcessWindowsLive::RefreshStateAfterStop in order to treat an unexpected breakpoint opcode as an exception worth stopping on.

Added a Windows-only test to check it out.  In the future, the test probably could be generalized to handle other platforms.

http://reviews.llvm.org/D15834

Files:
  packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/Makefile
  packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/main.c
  source/Plugins/Process/Windows/Live/ProcessWindowsLive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15834.43816.patch
Type: text/x-patch
Size: 8605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151231/90b08ae8/attachment.bin>


More information about the lldb-commits mailing list