mirror of
https://review.haiku-os.org/haiku
synced 2025-02-12 08:39:18 +01:00
respective Type classes. StackFrameDebugInfo is pretty much out of work now, but maybe something comes up later. * Renamed GlobalTypeLookupContext to GlobalTypeCache and renamed its methods. * A TeamDebugInfo does now have a GlobalTypeCache which is used for resolving types. Formerly it was created per stack frame, so all types had to be resolved after each single step. Single-stepping is usably fast again. The disadvantage is that DWARF theoretically allows types properties to depend on instruction/frame/frame base pointer and we don't support that anymore. I can't think of a reasonable application for that feature, though. * Refactored DwarfStackFrameDebugInfo: - Moved the type classes into new DwarfTypes.{h,cpp}. - Moved the creation of types into new class DwarfTypeFactory. - Added class DwarfTypeContext which bundles all the dependencies of the type classes. * Made DwarfFile a BReferenceable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33495 a95241bf-73f2-0310-859d-f6bbb57e9c96
178 lines
3.5 KiB
Plaintext
178 lines
3.5 KiB
Plaintext
SubDir HAIKU_TOP src apps debugger ;
|
|
|
|
CCFLAGS += -Werror ;
|
|
C++FLAGS += -Werror ;
|
|
|
|
UsePrivateHeaders debug interface kernel shared ;
|
|
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) gui team_window ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
|
|
|
|
local debugAnalyzerSources
|
|
= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
|
|
|
|
SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
|
|
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
|
|
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
|
|
|
|
# gui/team_window
|
|
ImageFunctionsView.cpp
|
|
ImageListView.cpp
|
|
RegistersView.cpp
|
|
SourceView.cpp
|
|
StackTraceView.cpp
|
|
TeamWindow.cpp
|
|
ThreadListView.cpp
|
|
VariablesView.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
|
|
Thread.cpp
|
|
ThreadInfo.cpp
|
|
Type.cpp
|
|
TypeComponentPath.cpp
|
|
Variable.cpp
|
|
|
|
# settings
|
|
BreakpointSetting.cpp
|
|
TeamSettings.cpp
|
|
SettingsManager.cpp
|
|
|
|
# source_language
|
|
CLanguage.cpp
|
|
CLanguageFamily.cpp
|
|
CppLanguage.cpp
|
|
SourceLanguage.cpp
|
|
SyntaxHighlighter.cpp
|
|
UnsupportedLanguage.cpp
|
|
X86AssemblyLanguage.cpp
|
|
|
|
# types
|
|
ArrayIndexPath.cpp
|
|
TargetAddressRangeList.cpp
|
|
ValueLocation.cpp
|
|
|
|
# util
|
|
ArchivingUtils.cpp
|
|
BitBuffer.cpp
|
|
StringUtils.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
|
|
|
|
$(TARGET_LIBSTDC++)
|
|
be libdebug.so
|
|
|
|
: Debugger.rdef
|
|
;
|
|
|
|
HaikuSubInclude arch x86 disasm ;
|
|
HaikuSubInclude demangler ;
|
|
HaikuSubInclude dwarf ;
|
|
HaikuSubInclude gui running_teams_window ;
|