Added optional "singleStep" parameter to ContinueThread().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35963 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,7 +42,8 @@ public:
|
|||||||
int32 length);
|
int32 length);
|
||||||
status_t ClearWatchpoint(void* address);
|
status_t ClearWatchpoint(void* address);
|
||||||
|
|
||||||
status_t ContinueThread(thread_id thread);
|
status_t ContinueThread(thread_id thread,
|
||||||
|
bool singleStep = false);
|
||||||
status_t SetThreadDebuggingFlags(thread_id thread,
|
status_t SetThreadDebuggingFlags(thread_id thread,
|
||||||
int32 flags);
|
int32 flags);
|
||||||
status_t GetThreadCpuState(thread_id thread,
|
status_t GetThreadCpuState(thread_id thread,
|
||||||
|
|||||||
@@ -140,12 +140,12 @@ BDebugContext::ClearWatchpoint(void* address)
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
BDebugContext::ContinueThread(thread_id thread)
|
BDebugContext::ContinueThread(thread_id thread, bool singleStep)
|
||||||
{
|
{
|
||||||
debug_nub_continue_thread message;
|
debug_nub_continue_thread message;
|
||||||
message.thread = thread;
|
message.thread = thread;
|
||||||
message.handle_event = B_THREAD_DEBUG_HANDLE_EVENT;
|
message.handle_event = B_THREAD_DEBUG_HANDLE_EVENT;
|
||||||
message.single_step = false;
|
message.single_step = singleStep;
|
||||||
|
|
||||||
return SendDebugMessage(B_DEBUG_MESSAGE_CONTINUE_THREAD, &message,
|
return SendDebugMessage(B_DEBUG_MESSAGE_CONTINUE_THREAD, &message,
|
||||||
sizeof(message), NULL, 0);
|
sizeof(message), NULL, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user