[haiku-commits] r33588 - haiku/trunk/src/apps/debugger/debugger_interface

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 15 Oct 2009 06:33:26 +0200 (CEST)

Author: bonefish
Date: 2009-10-15 06:33:26 +0200 (Thu, 15 Oct 2009)
New Revision: 33588
Changeset: http://dev.haiku-os.org/changeset/33588/haiku

Modified:
   haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.cpp
   haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.h
Log:
Use debug_exception_type for the exception type.


Modified: haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.cpp     
2009-10-15 04:31:42 UTC (rev 33587)
+++ haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.cpp     
2009-10-15 04:33:26 UTC (rev 33588)
@@ -115,7 +115,7 @@
 
 
 ExceptionOccurredEvent::ExceptionOccurredEvent(team_id team, thread_id thread,
-       uint32 exception)
+       debug_exception_type exception)
        :
        DebugEvent(B_DEBUGGER_MESSAGE_EXCEPTION_OCCURRED, team, thread),
        fException(exception)

Modified: haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.h
===================================================================
--- haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.h       
2009-10-15 04:31:42 UTC (rev 33587)
+++ haiku/trunk/src/apps/debugger/debugger_interface/DebugEvent.h       
2009-10-15 04:33:26 UTC (rev 33588)
@@ -92,12 +92,13 @@
 class ExceptionOccurredEvent : public DebugEvent {
 public:
                                                                
ExceptionOccurredEvent(team_id team,
-                                                                       
thread_id thread, uint32 exception);
+                                                                       
thread_id thread,
+                                                                       
debug_exception_type exception);
 
-                       uint32                          Exception() const       
{ return fException; }
+                       debug_exception_type Exception() const  { return 
fException; }
 
 private:
-                       uint32                          fException;
+                       debug_exception_type fException;
 };
 
 


Other related posts:

  • » [haiku-commits] r33588 - haiku/trunk/src/apps/debugger/debugger_interface - ingo_weinhold