[haiku-commits] r35963 - in haiku/trunk: headers/private/debug src/kits/debug

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 26 Mar 2010 22:16:43 +0100 (CET)

Author: bonefish
Date: 2010-03-26 22:16:43 +0100 (Fri, 26 Mar 2010)
New Revision: 35963
Changeset: http://dev.haiku-os.org/changeset/35963/haiku

Modified:
   haiku/trunk/headers/private/debug/DebugContext.h
   haiku/trunk/src/kits/debug/DebugContext.cpp
Log:
Added optional "singleStep" parameter to ContinueThread().


Modified: haiku/trunk/headers/private/debug/DebugContext.h
===================================================================
--- haiku/trunk/headers/private/debug/DebugContext.h    2010-03-26 20:23:30 UTC 
(rev 35962)
+++ haiku/trunk/headers/private/debug/DebugContext.h    2010-03-26 21:16:43 UTC 
(rev 35963)
@@ -42,7 +42,8 @@
                                                                        int32 
length);
                        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,
                                                                        int32 
flags);
                        status_t                        
GetThreadCpuState(thread_id thread,

Modified: haiku/trunk/src/kits/debug/DebugContext.cpp
===================================================================
--- haiku/trunk/src/kits/debug/DebugContext.cpp 2010-03-26 20:23:30 UTC (rev 
35962)
+++ haiku/trunk/src/kits/debug/DebugContext.cpp 2010-03-26 21:16:43 UTC (rev 
35963)
@@ -140,12 +140,12 @@
 
 
 status_t
-BDebugContext::ContinueThread(thread_id thread)
+BDebugContext::ContinueThread(thread_id thread, bool singleStep)
 {
        debug_nub_continue_thread message;
        message.thread = thread;
        message.handle_event = B_THREAD_DEBUG_HANDLE_EVENT;
-       message.single_step = false;
+       message.single_step = singleStep;
 
        return SendDebugMessage(B_DEBUG_MESSAGE_CONTINUE_THREAD, &message,
                sizeof(message), NULL, 0);


Other related posts:

  • » [haiku-commits] r35963 - in haiku/trunk: headers/private/debug src/kits/debug - ingo_weinhold