From c6952b68f04ba735ebe6b2ecd396bab242c116ec Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 15 Oct 2009 04:33:26 +0000 Subject: [PATCH] Use debug_exception_type for the exception type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33588 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/debugger_interface/DebugEvent.cpp | 2 +- src/apps/debugger/debugger_interface/DebugEvent.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/apps/debugger/debugger_interface/DebugEvent.cpp b/src/apps/debugger/debugger_interface/DebugEvent.cpp index 5538550813..0891249d44 100644 --- a/src/apps/debugger/debugger_interface/DebugEvent.cpp +++ b/src/apps/debugger/debugger_interface/DebugEvent.cpp @@ -115,7 +115,7 @@ SingleStepEvent::SingleStepEvent(team_id team, thread_id thread, ExceptionOccurredEvent::ExceptionOccurredEvent(team_id team, thread_id thread, - uint32 exception) + debug_exception_type exception) : DebugEvent(B_DEBUGGER_MESSAGE_EXCEPTION_OCCURRED, team, thread), fException(exception) diff --git a/src/apps/debugger/debugger_interface/DebugEvent.h b/src/apps/debugger/debugger_interface/DebugEvent.h index c53087c0bf..f81a5e4ee9 100644 --- a/src/apps/debugger/debugger_interface/DebugEvent.h +++ b/src/apps/debugger/debugger_interface/DebugEvent.h @@ -92,12 +92,13 @@ public: 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; };