2009-06-14 12:53:29 +00:00
|
|
|
SubDir HAIKU_TOP src apps debugger ;
|
|
|
|
|
|
|
|
CCFLAGS += -Werror ;
|
|
|
|
C++FLAGS += -Werror ;
|
|
|
|
|
2009-06-17 13:40:10 +00:00
|
|
|
UsePrivateHeaders debug interface kernel shared ;
|
2009-06-14 12:53:29 +00:00
|
|
|
UsePrivateSystemHeaders ;
|
|
|
|
|
2009-06-18 19:57:46 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
|
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
|
2009-06-20 17:20:49 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
|
2009-06-18 17:57:37 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
|
2009-06-27 21:09:21 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
|
2009-07-01 22:09:33 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
|
2009-10-11 05:46:45 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) gui model ] ;
|
2009-06-16 21:47:49 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) gui team_window ] ;
|
2009-07-18 23:52:16 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
|
2009-06-20 18:17:48 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
|
2009-07-24 02:35:30 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
|
2009-07-13 20:45:15 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
|
2009-06-29 22:38:15 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
|
2009-07-01 22:09:33 +00:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
|
2009-06-16 21:47:49 +00:00
|
|
|
|
|
|
|
local debugAnalyzerSources
|
|
|
|
= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
|
|
|
|
|
2009-06-20 18:45:20 +00:00
|
|
|
SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
|
2009-06-16 21:47:49 +00:00
|
|
|
SubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
|
|
|
|
SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
|
|
|
|
|
2009-06-27 23:40:32 +00:00
|
|
|
SourceHdrs
|
2009-06-29 22:38:15 +00:00
|
|
|
DwarfFunctionDebugInfo.cpp
|
2009-06-27 23:40:32 +00:00
|
|
|
DwarfImageDebugInfo.cpp
|
2009-09-21 04:39:40 +00:00
|
|
|
DwarfStackFrameDebugInfo.cpp
|
2009-06-27 23:40:32 +00:00
|
|
|
DwarfTeamDebugInfo.cpp
|
2009-10-10 05:05:33 +00:00
|
|
|
DwarfTypeFactory.cpp
|
|
|
|
DwarfTypes.cpp
|
2009-06-27 23:40:32 +00:00
|
|
|
: [ FDirName $(SUBDIR) dwarf ]
|
|
|
|
;
|
|
|
|
|
2009-06-14 12:53:29 +00:00
|
|
|
Application Debugger :
|
2009-06-25 23:51:09 +00:00
|
|
|
BreakpointManager.cpp
|
2009-06-16 21:47:49 +00:00
|
|
|
Debugger.cpp
|
2009-06-19 15:09:56 +00:00
|
|
|
Jobs.cpp
|
2009-06-18 00:35:12 +00:00
|
|
|
TeamDebugger.cpp
|
2009-06-24 01:46:38 +00:00
|
|
|
ThreadHandler.cpp
|
2009-06-19 15:09:56 +00:00
|
|
|
Worker.cpp
|
2009-06-16 00:25:36 +00:00
|
|
|
|
2009-06-18 19:57:46 +00:00
|
|
|
# arch
|
|
|
|
Architecture.cpp
|
|
|
|
CpuState.cpp
|
2009-06-25 23:51:09 +00:00
|
|
|
InstructionInfo.cpp
|
2009-06-19 00:05:45 +00:00
|
|
|
Register.cpp
|
2009-07-13 18:45:49 +00:00
|
|
|
RegisterMap.cpp
|
2009-06-18 19:57:46 +00:00
|
|
|
|
|
|
|
# arch/x86
|
|
|
|
ArchitectureX86.cpp
|
|
|
|
CpuStateX86.cpp
|
2009-06-20 17:20:49 +00:00
|
|
|
|
|
|
|
# debug_info
|
|
|
|
BasicFunctionDebugInfo.cpp
|
2009-06-27 21:09:21 +00:00
|
|
|
DebuggerImageDebugInfo.cpp
|
|
|
|
DebuggerTeamDebugInfo.cpp
|
2009-06-29 22:38:15 +00:00
|
|
|
DwarfFunctionDebugInfo.cpp
|
2009-06-27 23:40:32 +00:00
|
|
|
DwarfImageDebugInfo.cpp
|
2009-09-21 04:39:40 +00:00
|
|
|
DwarfStackFrameDebugInfo.cpp
|
2009-06-27 23:40:32 +00:00
|
|
|
DwarfTeamDebugInfo.cpp
|
2009-10-10 05:05:33 +00:00
|
|
|
DwarfTypeFactory.cpp
|
|
|
|
DwarfTypes.cpp
|
2009-07-07 20:47:39 +00:00
|
|
|
Function.cpp
|
2009-06-20 17:20:49 +00:00
|
|
|
FunctionDebugInfo.cpp
|
2009-07-07 20:47:39 +00:00
|
|
|
FunctionInstance.cpp
|
* WIP regarding non comilation unit local types:
- Introduced GlobalTypeLookup interface and GlobalTypeLookupContext to look
up types by name and cache them.
- TeamDebugInfo implementes GlobalTypeLookup iterating through all
ImageDebugInfos, which in turn iterate through all SpecificImageDebugInfos.
- DwarfImageDebugInfo iterates through all compilation units, using
a temporary DwarfStackFrameDebugInfo to create the type.
- DwarfStackFrameDebugInfo no longer caches the types itself, but uses
GlobalTypeLookupContext. It uses GlobalTypeLookup to look up types not
defined in the compilation unit.
- DwarfFile: Made expression evaluation more robust, so that it also works,
when no subroutine entry, frame pointer, and instruction pointer are
available (and not used by the expression).
Basically works already, although the wrong compilation unit might be used
when resolving values for global types. It's also horribly slow, when there
are many types in the stack frame.
* DwarfStackFrameDebugInfo::ResolveArrayElementLocation(): The element location
piece size was set incorrectly (multiplied by 8, although bytes were
expected).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 03:17:22 +00:00
|
|
|
GlobalTypeLookup.cpp
|
2009-06-20 17:20:49 +00:00
|
|
|
ImageDebugInfo.cpp
|
|
|
|
ImageDebugInfoProvider.cpp
|
2009-09-21 04:39:40 +00:00
|
|
|
NoOpStackFrameDebugInfo.cpp
|
2009-06-27 21:09:21 +00:00
|
|
|
SpecificImageDebugInfo.cpp
|
|
|
|
SpecificTeamDebugInfo.cpp
|
2009-09-21 04:39:40 +00:00
|
|
|
StackFrameDebugInfo.cpp
|
2009-06-27 21:09:21 +00:00
|
|
|
TeamDebugInfo.cpp
|
2009-06-18 19:57:46 +00:00
|
|
|
|
|
|
|
# debugger_interface
|
|
|
|
DebugEvent.cpp
|
|
|
|
DebuggerInterface.cpp
|
2009-06-16 21:47:49 +00:00
|
|
|
|
2009-06-27 21:09:21 +00:00
|
|
|
# elf
|
|
|
|
ElfFile.cpp
|
|
|
|
|
2009-07-01 22:09:33 +00:00
|
|
|
# files
|
|
|
|
FileManager.cpp
|
|
|
|
LocatableDirectory.cpp
|
|
|
|
LocatableEntry.cpp
|
|
|
|
LocatableFile.cpp
|
2009-07-03 00:56:39 +00:00
|
|
|
SourceFile.cpp
|
2009-07-01 22:09:33 +00:00
|
|
|
|
2009-10-11 05:46:45 +00:00
|
|
|
# gui/model
|
|
|
|
VariablesViewState.cpp
|
|
|
|
VariablesViewStateHistory.cpp
|
|
|
|
|
2009-06-16 21:47:49 +00:00
|
|
|
# gui/team_window
|
2009-06-27 16:49:55 +00:00
|
|
|
ImageFunctionsView.cpp
|
2009-06-17 14:18:55 +00:00
|
|
|
ImageListView.cpp
|
2009-07-17 01:54:43 +00:00
|
|
|
RegistersView.cpp
|
2009-06-21 13:17:21 +00:00
|
|
|
SourceView.cpp
|
2009-06-19 22:13:32 +00:00
|
|
|
StackTraceView.cpp
|
2009-06-16 21:47:49 +00:00
|
|
|
TeamWindow.cpp
|
|
|
|
ThreadListView.cpp
|
2009-07-17 01:54:43 +00:00
|
|
|
VariablesView.cpp
|
2009-06-16 21:47:49 +00:00
|
|
|
|
2009-07-18 23:52:16 +00:00
|
|
|
# ids
|
|
|
|
FunctionID.cpp
|
|
|
|
LocalVariableID.cpp
|
|
|
|
ObjectID.cpp
|
|
|
|
FunctionParameterID.cpp
|
|
|
|
|
2009-06-20 18:17:48 +00:00
|
|
|
# model
|
2009-06-22 21:51:32 +00:00
|
|
|
Breakpoint.cpp
|
2009-06-22 01:13:57 +00:00
|
|
|
DisassembledCode.cpp
|
2009-07-03 00:56:39 +00:00
|
|
|
FileSourceCode.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
Image.cpp
|
|
|
|
ImageInfo.cpp
|
2009-06-21 13:17:21 +00:00
|
|
|
SourceCode.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
StackFrame.cpp
|
2009-07-18 23:52:16 +00:00
|
|
|
StackFrameValues.cpp
|
2009-09-21 04:39:40 +00:00
|
|
|
StackFrameValueInfos.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
StackTrace.cpp
|
2009-06-21 13:17:21 +00:00
|
|
|
Statement.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
SymbolInfo.cpp
|
2009-07-07 20:47:39 +00:00
|
|
|
UserBreakpoint.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
Team.cpp
|
2009-06-26 00:39:23 +00:00
|
|
|
TeamMemory.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
Thread.cpp
|
|
|
|
ThreadInfo.cpp
|
2009-07-17 01:54:43 +00:00
|
|
|
Type.cpp
|
2009-07-18 23:52:16 +00:00
|
|
|
TypeComponentPath.cpp
|
2009-07-17 01:54:43 +00:00
|
|
|
Variable.cpp
|
2009-06-20 18:17:48 +00:00
|
|
|
|
2009-07-24 02:35:30 +00:00
|
|
|
# settings
|
|
|
|
BreakpointSetting.cpp
|
|
|
|
TeamSettings.cpp
|
|
|
|
SettingsManager.cpp
|
|
|
|
|
2009-07-13 20:45:15 +00:00
|
|
|
# source_language
|
|
|
|
CLanguage.cpp
|
|
|
|
CLanguageFamily.cpp
|
|
|
|
CppLanguage.cpp
|
|
|
|
SourceLanguage.cpp
|
|
|
|
SyntaxHighlighter.cpp
|
|
|
|
UnsupportedLanguage.cpp
|
|
|
|
X86AssemblyLanguage.cpp
|
|
|
|
|
2009-06-29 22:38:15 +00:00
|
|
|
# types
|
2009-10-01 09:37:24 +00:00
|
|
|
ArrayIndexPath.cpp
|
2009-06-29 22:38:15 +00:00
|
|
|
TargetAddressRangeList.cpp
|
2009-07-17 01:54:43 +00:00
|
|
|
ValueLocation.cpp
|
2009-06-29 22:38:15 +00:00
|
|
|
|
2009-07-01 22:09:33 +00:00
|
|
|
# util
|
2009-07-24 02:35:30 +00:00
|
|
|
ArchivingUtils.cpp
|
2009-07-18 23:52:16 +00:00
|
|
|
BitBuffer.cpp
|
2009-07-01 22:09:33 +00:00
|
|
|
StringUtils.cpp
|
|
|
|
|
2009-06-16 21:47:49 +00:00
|
|
|
:
|
2009-06-20 18:45:20 +00:00
|
|
|
<nogrist>Debugger_demangler.o
|
2009-06-21 13:17:21 +00:00
|
|
|
<nogrist>Debugger_disasm_x86.o
|
2009-06-27 22:12:26 +00:00
|
|
|
<nogrist>Debugger_dwarf.o
|
2009-06-16 21:47:49 +00:00
|
|
|
<nogrist>DebugAnalyzer_gui_table.o
|
|
|
|
|
2009-06-21 13:17:21 +00:00
|
|
|
libudis86.a
|
2009-06-16 21:47:49 +00:00
|
|
|
<bin>debug_utils.a
|
|
|
|
libcolumnlistview.a
|
2009-06-19 23:00:25 +00:00
|
|
|
libshared.a
|
2009-06-16 21:47:49 +00:00
|
|
|
|
|
|
|
$(TARGET_LIBSTDC++)
|
2009-06-20 08:52:51 +00:00
|
|
|
be libdebug.so
|
2009-06-16 21:47:49 +00:00
|
|
|
|
|
|
|
: Debugger.rdef
|
2009-06-14 12:53:29 +00:00
|
|
|
;
|
2009-06-15 23:11:19 +00:00
|
|
|
|
2009-06-21 13:17:21 +00:00
|
|
|
HaikuSubInclude arch x86 disasm ;
|
2009-06-20 18:45:20 +00:00
|
|
|
HaikuSubInclude demangler ;
|
2009-06-27 22:12:26 +00:00
|
|
|
HaikuSubInclude dwarf ;
|
2009-06-16 00:25:36 +00:00
|
|
|
HaikuSubInclude gui running_teams_window ;
|