mirror of
https://review.haiku-os.org/haiku
synced 2025-02-07 06:16:11 +01:00
9b008d31ff
* "thread": prints/sets the current thread. * "continue", "stop": continue/stop the current thread. * "sc"/"bt": Print a stack trace for the current thread. Very basic yet.
303 lines
6.6 KiB
Plaintext
303 lines
6.6 KiB
Plaintext
SubDir HAIKU_TOP src apps debugger ;
|
|
|
|
CCFLAGS += -Werror ;
|
|
C++FLAGS += -Werror ;
|
|
|
|
UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
|
|
UsePrivateHeaders app debug interface kernel shared libroot ;
|
|
UsePrivateSystemHeaders ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) settings generic ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface cli ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui inspector_window ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui model ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_window ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui teams_window ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui util ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface util ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) value ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) value type_handlers ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_handlers ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_nodes ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) value values ] ;
|
|
|
|
local debugAnalyzerSources
|
|
= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
|
|
|
|
SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
|
|
SubDirHdrs [ FDirName $(SUBDIR) dwarf ] ;
|
|
SubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
|
|
SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
|
|
|
|
SourceHdrs
|
|
DwarfFunctionDebugInfo.cpp
|
|
DwarfImageDebugInfo.cpp
|
|
DwarfStackFrameDebugInfo.cpp
|
|
DwarfTeamDebugInfo.cpp
|
|
DwarfTypeFactory.cpp
|
|
DwarfTypes.cpp
|
|
: [ FDirName $(SUBDIR) dwarf ]
|
|
;
|
|
|
|
Application Debugger :
|
|
BreakpointManager.cpp
|
|
Debugger.cpp
|
|
Jobs.cpp
|
|
TeamMemoryBlockManager.cpp
|
|
TeamDebugger.cpp
|
|
ThreadHandler.cpp
|
|
Worker.cpp
|
|
|
|
# arch
|
|
Architecture.cpp
|
|
CpuState.cpp
|
|
InstructionInfo.cpp
|
|
Register.cpp
|
|
RegisterMap.cpp
|
|
|
|
# arch/x86
|
|
ArchitectureX86.cpp
|
|
CpuStateX86.cpp
|
|
|
|
# debug_info
|
|
BasicFunctionDebugInfo.cpp
|
|
DebuggerImageDebugInfo.cpp
|
|
DebuggerTeamDebugInfo.cpp
|
|
DwarfFunctionDebugInfo.cpp
|
|
DwarfImageDebugInfo.cpp
|
|
DwarfStackFrameDebugInfo.cpp
|
|
DwarfTeamDebugInfo.cpp
|
|
DwarfTypeFactory.cpp
|
|
DwarfTypes.cpp
|
|
Function.cpp
|
|
FunctionDebugInfo.cpp
|
|
FunctionInstance.cpp
|
|
GlobalTypeLookup.cpp
|
|
ImageDebugInfo.cpp
|
|
ImageDebugInfoProvider.cpp
|
|
NoOpStackFrameDebugInfo.cpp
|
|
SpecificImageDebugInfo.cpp
|
|
SpecificTeamDebugInfo.cpp
|
|
StackFrameDebugInfo.cpp
|
|
TeamDebugInfo.cpp
|
|
|
|
# debugger_interface
|
|
DebugEvent.cpp
|
|
DebuggerInterface.cpp
|
|
|
|
# elf
|
|
ElfFile.cpp
|
|
|
|
# files
|
|
FileManager.cpp
|
|
LocatableDirectory.cpp
|
|
LocatableEntry.cpp
|
|
LocatableFile.cpp
|
|
SourceFile.cpp
|
|
|
|
# ids
|
|
FunctionID.cpp
|
|
LocalVariableID.cpp
|
|
ObjectID.cpp
|
|
FunctionParameterID.cpp
|
|
|
|
# model
|
|
Breakpoint.cpp
|
|
DisassembledCode.cpp
|
|
FileSourceCode.cpp
|
|
Image.cpp
|
|
ImageInfo.cpp
|
|
SourceCode.cpp
|
|
StackFrame.cpp
|
|
StackFrameValues.cpp
|
|
StackFrameValueInfos.cpp
|
|
StackTrace.cpp
|
|
Statement.cpp
|
|
SymbolInfo.cpp
|
|
UserBreakpoint.cpp
|
|
Team.cpp
|
|
TeamMemory.cpp
|
|
TeamMemoryBlock.cpp
|
|
TeamTypeInformation.cpp
|
|
Thread.cpp
|
|
ThreadInfo.cpp
|
|
Type.cpp
|
|
TypeComponentPath.cpp
|
|
TypeLookupConstraints.cpp
|
|
Variable.cpp
|
|
|
|
# settings
|
|
BreakpointSetting.cpp
|
|
GuiTeamUiSettings.cpp
|
|
SettingsManager.cpp
|
|
TeamSettings.cpp
|
|
TeamUiSettings.cpp
|
|
TeamUiSettingsFactory.cpp
|
|
|
|
# settings/generic
|
|
Setting.cpp
|
|
Settings.cpp
|
|
SettingsDescription.cpp
|
|
|
|
# source_language
|
|
CLanguage.cpp
|
|
CLanguageFamily.cpp
|
|
CppLanguage.cpp
|
|
SourceLanguage.cpp
|
|
SyntaxHighlighter.cpp
|
|
UnsupportedLanguage.cpp
|
|
X86AssemblyLanguage.cpp
|
|
|
|
# types
|
|
ArrayIndexPath.cpp
|
|
TargetAddressRangeList.cpp
|
|
ValueLocation.cpp
|
|
|
|
# user_interface
|
|
UserInterface.cpp
|
|
|
|
# user_interface/cli
|
|
CliCommand.cpp
|
|
CliContext.cpp
|
|
CliContinueCommand.cpp
|
|
CliStackTraceCommand.cpp
|
|
CliStopCommand.cpp
|
|
CliThreadCommand.cpp
|
|
CliThreadsCommand.cpp
|
|
CliQuitCommand.cpp
|
|
CommandLineUserInterface.cpp
|
|
|
|
# user_interface/gui
|
|
GraphicalUserInterface.cpp
|
|
|
|
# user_interface/gui/model
|
|
VariablesViewState.cpp
|
|
VariablesViewStateHistory.cpp
|
|
|
|
# user_interface/gui/inspector_window
|
|
InspectorWindow.cpp
|
|
MemoryView.cpp
|
|
|
|
# user_interface/gui/teams_window
|
|
TeamsWindow.cpp
|
|
TeamsListView.cpp
|
|
|
|
# user_interface/gui/team_window
|
|
BreakpointListView.cpp
|
|
BreakpointsView.cpp
|
|
ImageFunctionsView.cpp
|
|
ImageListView.cpp
|
|
RegistersView.cpp
|
|
SourceView.cpp
|
|
StackTraceView.cpp
|
|
TeamWindow.cpp
|
|
ThreadListView.cpp
|
|
VariablesView.cpp
|
|
|
|
# user_interface/gui/util
|
|
ActionMenuItem.cpp
|
|
GuiSettingsUtils.cpp
|
|
SettingsMenu.cpp
|
|
TargetAddressTableColumn.cpp
|
|
|
|
|
|
# user_interface/gui/value
|
|
TableCellBoolRenderer.cpp
|
|
TableCellEnumerationRenderer.cpp
|
|
TableCellFloatRenderer.cpp
|
|
TableCellIntegerRenderer.cpp
|
|
TableCellStringRenderer.cpp
|
|
TableCellValueRenderer.cpp
|
|
TableCellValueRendererUtils.cpp
|
|
|
|
# user_interface/util
|
|
UiUtils.cpp
|
|
|
|
# util
|
|
ArchivingUtils.cpp
|
|
BitBuffer.cpp
|
|
IntegerFormatter.cpp
|
|
StringUtils.cpp
|
|
|
|
# value
|
|
TypeHandler.cpp
|
|
TypeHandlerRoster.cpp
|
|
Value.cpp
|
|
ValueHandler.cpp
|
|
ValueHandlerRoster.cpp
|
|
ValueLoader.cpp
|
|
ValueNode.cpp
|
|
ValueNodeContainer.cpp
|
|
|
|
# value/type_handlers
|
|
BMessageTypeHandler.cpp
|
|
CStringTypeHandler.cpp
|
|
|
|
# value/value_handlers
|
|
AddressValueHandler.cpp
|
|
BoolValueHandler.cpp
|
|
EnumerationValueHandler.cpp
|
|
FloatValueHandler.cpp
|
|
IntegerValueHandler.cpp
|
|
StringValueHandler.cpp
|
|
|
|
# value/value_nodes
|
|
AddressValueNode.cpp
|
|
ArrayValueNode.cpp
|
|
BMessageValueNode.cpp
|
|
CompoundValueNode.cpp
|
|
CStringValueNode.cpp
|
|
EnumerationValueNode.cpp
|
|
PointerToMemberValueNode.cpp
|
|
PrimitiveValueNode.cpp
|
|
VariableValueNodeChild.cpp
|
|
|
|
# value/values
|
|
AddressValue.cpp
|
|
BoolValue.cpp
|
|
EnumerationValue.cpp
|
|
FloatValue.cpp
|
|
IntegerValue.cpp
|
|
StringValue.cpp
|
|
|
|
:
|
|
<nogrist>Debugger_demangler.o
|
|
<nogrist>Debugger_disasm_x86.o
|
|
<nogrist>Debugger_dwarf.o
|
|
<nogrist>DebugAnalyzer_gui_table.o
|
|
|
|
libudis86.a
|
|
<bin>debug_utils.a
|
|
libcolumnlistview.a
|
|
libshared.a
|
|
libshared.a
|
|
libexpression_parser.a
|
|
libmapm.a
|
|
libedit.a
|
|
libtermcap.a
|
|
|
|
$(TARGET_LIBSTDC++)
|
|
be tracker libbsd.so libdebug.so
|
|
|
|
: Debugger.rdef
|
|
;
|
|
|
|
HaikuSubInclude arch x86 disasm ;
|
|
HaikuSubInclude demangler ;
|
|
HaikuSubInclude dwarf ;
|