[Lldb-commits] [lldb] r223089 - Enable enabling and disabling breakpoints on Windows.
Zachary Turner
zturner at google.com
Mon Dec 1 15:13:52 PST 2014
Author: zturner
Date: Mon Dec 1 17:13:52 2014
New Revision: 223089
URL: http://llvm.org/viewvc/llvm-project?rev=223089&view=rev
Log:
Enable enabling and disabling breakpoints on Windows.
Modified:
lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.cpp
lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.h
Modified: lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.cpp?rev=223089&r1=223088&r2=223089&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.cpp Mon Dec 1 17:13:52 2014
@@ -145,6 +145,18 @@ ProcessWindows::PutSTDIN(const char *buf
return 0;
}
+Error
+ProcessWindows::EnableBreakpointSite(BreakpointSite *bp_site)
+{
+ return EnableSoftwareBreakpoint(bp_site);
+}
+
+Error
+ProcessWindows::DisableBreakpointSite(BreakpointSite *bp_site)
+{
+ return DisableSoftwareBreakpoint(bp_site);
+}
+
bool
ProcessWindows::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_thread_list)
{
Modified: lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.h?rev=223089&r1=223088&r2=223089&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.h (original)
+++ lldb/trunk/source/Plugins/Process/Windows/ProcessWindows.h Mon Dec 1 17:13:52 2014
@@ -71,6 +71,9 @@ public:
size_t GetSTDERR(char *buf, size_t buf_size, lldb_private::Error &error) override;
size_t PutSTDIN(const char *buf, size_t buf_size, lldb_private::Error &error) override;
+ lldb_private::Error EnableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
+ lldb_private::Error DisableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
+
lldb_private::Error DoDetach(bool keep_stopped) override;
lldb_private::Error DoLaunch(lldb_private::Module *exe_module, lldb_private::ProcessLaunchInfo &launch_info) override;
lldb_private::Error DoResume() override;
More information about the lldb-commits
mailing list