1 SubDir HAIKU_TOP src kits debugger ;
3 UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
5 # for syscall_numbers.h
6 UseHeaders [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
9 UsePrivateHeaders debugger ;
10 UsePrivateHeaders [ FDirName debugger arch ] ;
11 UsePrivateHeaders [ FDirName debugger controllers ] ;
12 UsePrivateHeaders [ FDirName debugger debug_info ] ;
13 UsePrivateHeaders [ FDirName debugger debug_managers ] ;
14 UsePrivateHeaders [ FDirName debugger elf ] ;
15 UsePrivateHeaders [ FDirName debugger files ] ;
16 UsePrivateHeaders [ FDirName debugger ids ] ;
17 UsePrivateHeaders [ FDirName debugger model ] ;
18 UsePrivateHeaders [ FDirName debugger settings ] ;
19 UsePrivateHeaders [ FDirName debugger settings generic ] ;
20 UsePrivateHeaders [ FDirName debugger source_language ] ;
21 UsePrivateHeaders [ FDirName debugger source_language c_family ] ;
22 UsePrivateHeaders [ FDirName debugger target_host_interface ] ;
23 UsePrivateHeaders [ FDirName debugger types ] ;
24 UsePrivateHeaders [ FDirName debugger user_interface ] ;
25 UsePrivateHeaders [ FDirName debugger user_interface util ] ;
26 UsePrivateHeaders [ FDirName debugger util ] ;
27 UsePrivateHeaders [ FDirName debugger value ] ;
28 UsePrivateHeaders [ FDirName debugger value value_formatters ] ;
29 UsePrivateHeaders [ FDirName debugger value value_nodes ] ;
30 UsePrivateHeaders [ FDirName debugger value values ] ;
32 UsePrivateHeaders app debug interface kernel package shared libroot ;
33 UsePrivateSystemHeaders ;
35 LINKFLAGS += -Wl,--exclude-libs,ALL ;
37 SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
39 SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
40 SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
41 SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86_64 ] ;
42 SEARCH_SOURCE += [ FDirName $(SUBDIR) controllers ] ;
43 SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
44 SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info loading_state_handlers ] ;
45 SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_managers ] ;
46 SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
47 SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface core ] ;
48 SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface local ] ;
49 SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface remote ] ;
50 SEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
51 SEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
52 SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
53 SEARCH_SOURCE += [ FDirName $(SUBDIR) jobs ] ;
54 SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
55 SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
56 SEARCH_SOURCE += [ FDirName $(SUBDIR) settings generic ] ;
57 SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
58 SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language c_family ] ;
59 SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language x86 ] ;
60 SEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface ] ;
61 SEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface local ] ;
62 SEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface network ] ;
63 SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
64 SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
65 SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface util ] ;
66 SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
67 SEARCH_SOURCE += [ FDirName $(SUBDIR) value ] ;
68 SEARCH_SOURCE += [ FDirName $(SUBDIR) value type_handlers ] ;
69 SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_formatters ] ;
70 SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_nodes ] ;
71 SEARCH_SOURCE += [ FDirName $(SUBDIR) value values ] ;
73 SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
74 SubDirHdrs [ FDirName $(SUBDIR) dwarf ] ;
75 SubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
78 DwarfFunctionDebugInfo.cpp
79 DwarfImageDebugInfo.cpp
80 DwarfStackFrameDebugInfo.cpp
81 DwarfTeamDebugInfo.cpp
84 : [ FDirName $(SUBDIR) dwarf ]
102 ArchitectureX8664.cpp
106 DebugReportGenerator.cpp
111 BreakpointManager.cpp
112 TeamMemoryBlockManager.cpp
113 WatchpointManager.cpp
116 BasicFunctionDebugInfo.cpp
117 DebuggerImageDebugInfo.cpp
118 DebuggerTeamDebugInfo.cpp
119 DwarfFunctionDebugInfo.cpp
120 DwarfImageDebugInfo.cpp
121 DwarfImageDebugInfoLoadingState.cpp
122 DwarfStackFrameDebugInfo.cpp
123 DwarfTeamDebugInfo.cpp
127 FunctionDebugInfo.cpp
131 ImageDebugInfoLoadingState.cpp
132 ImageDebugInfoProvider.cpp
133 ImageDebugLoadingStateHandler.cpp
134 ImageDebugLoadingStateHandlerRoster.cpp
135 NoOpStackFrameDebugInfo.cpp
136 SpecificImageDebugInfo.cpp
137 SpecificImageDebugInfoLoadingState.cpp
138 SpecificTeamDebugInfo.cpp
139 StackFrameDebugInfo.cpp
142 # debug_info/loading_state_handlers
143 DwarfLoadingStateHandler.cpp
147 DebuggerInterface.cpp
149 # debugger_interface/core
150 CoreFileDebuggerInterface.cpp
152 # debugger_interface/local
153 LocalDebuggerInterface.cpp
155 # debugger_interface/remote
156 RemoteDebugRequest.cpp
165 LocatableDirectory.cpp
172 FunctionParameterID.cpp
178 ExpressionEvaluationJob.cpp
181 GetThreadStateJob.cpp
182 LoadImageDebugInfoJob.cpp
183 LoadSourceCodeJob.cpp
184 ResolveValueNodeJob.cpp
185 RetrieveMemoryBlockJob.cpp
188 WriteValueNodeJob.cpp
206 StackFrameValueInfos.cpp
210 SyntheticPrimitiveType.cpp
215 TeamFunctionSourceInformation.cpp
219 TeamTypeInformation.cpp
223 TypeComponentPath.cpp
224 TypeLookupConstraints.cpp
230 BreakpointSetting.cpp
231 NoOpSettingsManager.cpp
233 TeamFileManagerSettings.cpp
235 TeamSignalSettings.cpp
237 TeamUiSettingsFactory.cpp
242 SettingsDescription.cpp
246 SyntaxHighlighter.cpp
247 UnsupportedLanguage.cpp
249 # source_language/c_family
251 CLanguageExpressionEvaluator.cpp
253 CLanguageFamilySyntaxHighlighter.cpp
254 CLanguageFamilySyntaxHighlightInfo.cpp
255 CLanguageTokenizer.cpp
258 # source_language/x86
259 X86AssemblyLanguage.cpp
261 # target_host_interface
262 TargetHostInterface.cpp
263 TargetHostInterfaceInfo.cpp
264 TargetHostInterfaceRoster.cpp
266 # target_host_interface/local
267 LocalTargetHostInterface.cpp
268 LocalTargetHostInterfaceInfo.cpp
270 # target_host_interface/network
271 NetworkTargetHostInterface.cpp
272 NetworkTargetHostInterfaceInfo.cpp
276 TargetAddressRangeList.cpp
282 # user_interface/util
295 TypeHandlerRoster.cpp
300 ValueNodeContainer.cpp
304 # value/type_handlers
306 BMessageTypeHandler.cpp
307 CStringTypeHandler.cpp
309 # value/value_formatters
310 BoolValueFormatter.cpp
311 EnumerationValueFormatter.cpp
312 FloatValueFormatter.cpp
313 IntegerValueFormatter.cpp
314 StringValueFormatter.cpp
320 BMessageValueNode.cpp
321 CompoundValueNode.cpp
323 EnumerationValueNode.cpp
324 ExpressionValueNode.cpp
325 PointerToMemberValueNode.cpp
326 PrimitiveValueNode.cpp
327 VariableValueNodeChild.cpp
338 # since syscall_numbers.h is generated on the fly, we need to explicitly
339 # let Jam know about the dependency.
340 Includes [ FGristFiles $(sources) ] :
341 <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h
344 SharedLibrary libdebugger.so :
347 <nogrist>Debugger_demangler.o
348 <nogrist>Debugger_disasm_x86.o
349 <nogrist>Debugger_disasm_x86_64.o
350 <nogrist>Debugger_dwarf.o
357 be package libbsd.so libdebug.so
360 HaikuSubInclude arch x86 disasm ;
361 HaikuSubInclude arch x86_64 disasm ;
362 HaikuSubInclude demangler ;
363 HaikuSubInclude dwarf ;