Use debug_exception_type for the exception type.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33588 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-10-15 04:33:26 +00:00
parent 2fc49d9b36
commit c6952b68f0
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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;
};