diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
3 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index beed1f28f37..e1f86a685a0 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -22,7 +22,7 @@ // Other libraries and framework includes -#include "lldb/Breakpoint/WatchpointLocation.h" +#include "lldb/Breakpoint/Watchpoint.h" #include "lldb/Interpreter/Args.h" #include "lldb/Core/ArchSpec.h" #include "lldb/Core/Debugger.h" @@ -1900,7 +1900,7 @@ ProcessGDBRemote::DisableBreakpoint (BreakpointSite *bp_site) // Pre-requisite: wp != NULL. static GDBStoppointType -GetGDBStoppointType (WatchpointLocation *wp) +GetGDBStoppointType (Watchpoint *wp) { assert(wp); bool watch_read = wp->WatchpointRead(); @@ -1917,7 +1917,7 @@ GetGDBStoppointType (WatchpointLocation *wp) } Error -ProcessGDBRemote::EnableWatchpoint (WatchpointLocation *wp) +ProcessGDBRemote::EnableWatchpoint (Watchpoint *wp) { Error error; if (wp) @@ -1951,7 +1951,7 @@ ProcessGDBRemote::EnableWatchpoint (WatchpointLocation *wp) } else { - error.SetErrorString("Watchpoint location argument was NULL."); + error.SetErrorString("Watchpoint argument was NULL."); } if (error.Success()) error.SetErrorToGenericError(); @@ -1959,7 +1959,7 @@ ProcessGDBRemote::EnableWatchpoint (WatchpointLocation *wp) } Error -ProcessGDBRemote::DisableWatchpoint (WatchpointLocation *wp) +ProcessGDBRemote::DisableWatchpoint (Watchpoint *wp) { Error error; if (wp) @@ -1995,7 +1995,7 @@ ProcessGDBRemote::DisableWatchpoint (WatchpointLocation *wp) } else { - error.SetErrorString("Watchpoint location argument was NULL."); + error.SetErrorString("Watchpoint argument was NULL."); } if (error.Success()) error.SetErrorToGenericError(); diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index 886eb60eed6..ed3aeb80d94 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -200,10 +200,10 @@ public: // Process Watchpoints //---------------------------------------------------------------------- virtual lldb_private::Error - EnableWatchpoint (lldb_private::WatchpointLocation *wp_loc); + EnableWatchpoint (lldb_private::Watchpoint *wp); virtual lldb_private::Error - DisableWatchpoint (lldb_private::WatchpointLocation *wp_loc); + DisableWatchpoint (lldb_private::Watchpoint *wp); virtual bool StartNoticingNewThreads(); diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index 23a71f1f33b..2f9ee0fd5f2 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -19,7 +19,7 @@ #include "lldb/Target/StopInfo.h" #include "lldb/Target/Target.h" #include "lldb/Target/Unwind.h" -#include "lldb/Breakpoint/WatchpointLocation.h" +#include "lldb/Breakpoint/Watchpoint.h" #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" |