mirror of
https://review.haiku-os.org/haiku
synced 2025-02-11 16:19:28 +01:00
* Added x86 disassembler (via libudis86). * Added Architecture::DisassembleCode() to disassemble a function to SourceCode. * Added virtual DebugInfo::LoadSourceCode() to retrieve the source code for a given function. The implementation in DebuggerDebugInfo disassembles the function. * Added source code info to StackFrame. Also added a listener mechanism to get notified on source code changes. * Added job to load the source code for a stack frame. * Added (very basic) source code view and wired everything so that when a stack frame is selected the source code (respectively disassembly) for the underlying function is retrieved and shown. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31158 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
539 B
C
24 lines
539 B
C
/*
|
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef MESSAGE_CODES_H
|
|
#define MESSAGE_CODES_H
|
|
|
|
|
|
enum {
|
|
MSG_THREAD_RUN = 'run_',
|
|
MSG_THREAD_STOP = 'stop',
|
|
MSG_THREAD_STEP_OVER = 'stov',
|
|
MSG_THREAD_STEP_INTO = 'stin',
|
|
MSG_THREAD_STEP_OUT = 'stou',
|
|
|
|
MSG_THREAD_STATE_CHANGED = 'tsch',
|
|
MSG_THREAD_CPU_STATE_CHANGED = 'tcsc',
|
|
MSG_THREAD_STACK_TRACE_CHANGED = 'tstc',
|
|
MSG_STACK_FRAME_SOURCE_CODE_CHANGED = 'sfsc'
|
|
};
|
|
|
|
|
|
#endif // MESSAGE_CODES_H
|