- Timestamp:
- Nov 11, 2007 9:40:50 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26024
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r5646 r5680 191 191 ## the Direct Framebuffer GUI 192 192 #VBOX_WITH_VBOXFB = 1 193 # the gui debugger193 # Enable the debugger. 194 194 ifneq ($(BUILD_TYPE),release) 195 VBOX_WITH_DEBUGGER_GUI = 1 195 VBOX_WITH_DEBUGGER = 1 196 # Enable the debugger GUI. 197 VBOX_WITH_DEBUGGER_GUI = 1 196 198 endif 197 199 # the documentation … … 462 464 VBOX_ASFLAGS_FMT = -f win64 -DASM_FORMAT_PE 463 465 endif 466 VBOX_ASFLAGS_DBFINFO = -g cv8 464 467 endif 465 468 ifndef VBOX_ASFLAGS_FMT … … 481 484 ifeq ($(VBOX_LDR_FMT32),pe) 482 485 VBOX_ASFLAGS_FMT32 = -f win32 -DASM_FORMAT_PE 486 VBOX_ASFLAGS_DBFINFO32 = -g cv8 483 487 endif 484 488 ifndef VBOX_ASFLAGS_FMT32 … … 496 500 ifeq ($(VBOX_LDR_FMT64),pe) 497 501 VBOX_ASFLAGS_FMT64 = -f win64 -DASM_FORMAT_PE 502 VBOX_ASFLAGS_DBFINFO64 = -g cv8 498 503 endif 499 504 ifndef VBOX_ASFLAGS_FMT64 … … 506 511 VBOX_LDR_FMT_2_YASM_DBGINFO.lx = -g stabs 507 512 VBOX_LDR_FMT_2_YASM_DBGINFO.macho = 508 VBOX_LDR_FMT_2_YASM_DBGINFO.pe = 513 VBOX_LDR_FMT_2_YASM_DBGINFO.pe = -g cv8 509 514 VBOX_ASFLAGS = $(VBOX_ASFLAGS_FMT) -D__YASM__ -Worphan-labels $(VBOX_LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT)) 510 515 VBOX_ASFLAGS32 = $(VBOX_ASFLAGS_FMT32) -D__YASM__ -Worphan-labels $(VBOX_LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT32)) -
trunk/src/VBox/Debugger/Makefile.kmk
r5677 r5680 14 14 # distribution. VirtualBox OSE is distributed in the hope that it will 15 15 # be useful, but WITHOUT ANY WARRANTY of any kind. 16 # 16 17 17 18 DEPTH = ../../.. 18 19 include $(PATH_KBUILD)/header.kmk 19 20 20 LIBRARIES = Debugger 21 ifdef VBOX_WITH_DEBUGGER_GUI 22 DLLS = VBoxDbg 23 PROGRAMS = tstVBoxDbg 21 # 22 # The targets. 23 # 24 ifdef VBOX_WITH_DEBUGGER 25 LIBRARIES += Debugger 26 ifdef VBOX_WITH_TESTCASES 27 PROGRAMS += tstDBGCParser 28 endif 29 ifdef VBOX_WITH_DEBUGGER_GUI 30 DLLS += VBoxDbg 31 ifdef VBOX_WITH_TESTCASES 32 PROGRAMS += tstVBoxDbg 33 endif 34 endif 35 endif # VBOX_WITH_DEBUGGER 36 ifndef VBOX_OSE 37 INSTALLS.win.x86 += dbghelp 24 38 endif 25 39 26 ifndef VBOX_OSE 27 INSTALLS.win.x86 = dbghelp 28 endif 29 30 31 # 32 # Debugger library 40 41 # 42 # Debugger library - linked into VBoxVMM. 33 43 # 34 44 Debugger_TEMPLATE = VBOXR3 … … 44 54 DBGCTcp.cpp 45 55 46 # 47 # The testcase. 56 57 # 58 # The DBGC parser testcase. 59 # This stubs all the VBoxVMM APIs. 60 # 61 tstDBGCParser_TEMPLATE = VBOXR3EXE 62 tstDBGCParser_SOURCES = \ 63 testcase/tstDBGCParser.cpp 64 tstDBGCParser_LIBS = \ 65 $(TARGET_Debugger) \ 66 $(LIB_RUNTIME) 67 68 69 # 70 # Debugger GUI component. 71 # 72 VBoxDbg_TEMPLATE = VBOXQTGUI 73 VBoxDbg_DEFS = IN_DBG_R3 74 VBoxDbg_CXXFLAGS.linux = $(TEMPLATE_VBOXQTGUI_CXXFLAGS.linux) -O2 75 VBoxDbg_CXXFLAGS.win = -wd4244 76 VBoxDbg_INCS = \ 77 . \ 78 $(PATH_VBoxDbg)/ui \ 79 $(PATH_VBoxDbg)/moc \ 80 $(PATH_VBoxDbg)/include 81 82 # QDesigner UI sources 83 VBoxDbg_QT_UISRCS = 84 85 # Headers containing definitions of classes that use the Q_OBJECT macro 86 VBoxDbg_QT_MOCHDRS = \ 87 VBoxDbgConsole.h \ 88 VBoxDbgStats.h \ 89 VBoxDbgGui.h 90 91 # UI headers (ui.h) containing local definitions of classes that use the Q_OBJECT macro 92 VBoxDbg_QT_MOCUIHDRS = 93 94 VBoxDbg_GENSRCS = \ 95 $(foreach moc,$(notdir $(basename $(VBoxDbg_QT_MOCHDRS))), $(PATH_VBoxDbg)/moc/moc_$(moc).cpp) \ 96 $(foreach ui,$(notdir $(basename $(VBoxDbg_QT_UISRCS))), $(PATH_VBoxDbg)/ui/$(ui).cpp $(PATH_VBoxDbg)/moc/moc_$(ui).cpp) 97 98 VBoxDbg_GENHDRS = \ 99 $(foreach mocui,$(basename $(VBoxDbg_QT_MOCUIHDRS)), $(PATH_VBoxDbg)/moc/$(mocui).moc) \ 100 $(foreach moc,$(basename $(VBoxDbg_QT_MOCSRCS)), $(PATH_VBoxDbg)/moc/$(moc).moc) \ 101 $(foreach ui,$(basename $(VBoxDbg_QT_UISRCS)), $(PATH_VBoxDbg)/$(ui).h) 102 103 VBoxDbg_SOURCES = \ 104 $(VBoxDbg_GENSRCS) \ 105 VBoxDbg.cpp \ 106 VBoxDbgGui.cpp \ 107 VBoxDbgBase.cpp \ 108 VBoxDbgConsole.cpp \ 109 VBoxDbgStats.cpp 110 111 VBoxDbg_LIBS = \ 112 $(LIB_VMM) 113 114 # generated files we need to clean manually 115 VBoxDbg_CLEAN += \ 116 $(VBoxDbg_GENSRCS) \ 117 $(VBoxDbg_GENHDRS) 118 119 120 # 121 # The VBoxDBG testcase. 48 122 # 49 123 tstVBoxDbg_TEMPLATE = VBOXQTGUIEXE … … 59 133 $(PATH_BIN)/VBoxDbg$(VBOX_SUFF_DLL) 60 134 endif 61 62 63 #64 # Debugger GUI component.65 #66 VBoxDbg_TEMPLATE = VBOXQTGUI67 VBoxDbg_DEFS = IN_DBG_R368 VBoxDbg_CXXFLAGS.linux = $(TEMPLATE_VBOXQTGUI_CXXFLAGS.linux) -O269 VBoxDbg_CXXFLAGS.win = -wd424470 VBoxDbg_INCS = \71 . \72 $(PATH_VBoxDbg)/ui \73 $(PATH_VBoxDbg)/moc \74 $(PATH_VBoxDbg)/include75 76 # QDesigner UI sources77 VBoxDbg_QT_UISRCS =78 79 # Headers containing definitions of classes that use the Q_OBJECT macro80 VBoxDbg_QT_MOCHDRS = \81 VBoxDbgConsole.h \82 VBoxDbgStats.h \83 VBoxDbgGui.h84 85 # UI headers (ui.h) containing local definitions of classes that use the Q_OBJECT macro86 VBoxDbg_QT_MOCUIHDRS =87 88 VBoxDbg_GENSRCS = \89 $(foreach moc,$(notdir $(basename $(VBoxDbg_QT_MOCHDRS))), $(PATH_VBoxDbg)/moc/moc_$(moc).cpp) \90 $(foreach ui,$(notdir $(basename $(VBoxDbg_QT_UISRCS))), $(PATH_VBoxDbg)/ui/$(ui).cpp $(PATH_VBoxDbg)/moc/moc_$(ui).cpp)91 92 VBoxDbg_GENHDRS = \93 $(foreach mocui,$(basename $(VBoxDbg_QT_MOCUIHDRS)), $(PATH_VBoxDbg)/moc/$(mocui).moc) \94 $(foreach moc,$(basename $(VBoxDbg_QT_MOCSRCS)), $(PATH_VBoxDbg)/moc/$(moc).moc) \95 $(foreach ui,$(basename $(VBoxDbg_QT_UISRCS)), $(PATH_VBoxDbg)/$(ui).h)96 97 VBoxDbg_SOURCES = \98 $(VBoxDbg_GENSRCS) \99 VBoxDbg.cpp \100 VBoxDbgGui.cpp \101 VBoxDbgBase.cpp \102 VBoxDbgConsole.cpp \103 VBoxDbgStats.cpp \104 DBGConsole.cpp \105 DBGCBuiltInSymbols.cpp \106 DBGCCmdHlp.cpp \107 DBGCCmdWorkers.cpp \108 DBGCCommands.cpp \109 DBGCEmulateCodeView.cpp \110 DBGCOps.cpp111 112 VBoxDbg_LIBS = $(LIB_VMM)113 114 # generated files we need to clean manually115 VBoxDbg_CLEAN += \116 $(VBoxDbg_GENSRCS) \117 $(VBoxDbg_GENHDRS)118 135 119 136 -
trunk/src/VBox/VMM/VBoxVMMDeps.cpp
r4665 r5680 26 26 #include <VBox/iom.h> 27 27 #include <VBox/dbgf.h> 28 #include <VBox/dbg.h> 28 29 29 30 VMMR3DECL(int) VMMDoTest(PVM pVM); … … 46 47 (PFNRT)VMR3Create, 47 48 (PFNRT)VMMDoTest, 49 #ifdef VBOX_WITH_DEBUGGER 50 (PFNRT)DBGCCreate, 51 #endif 48 52 NULL 49 53 };
Note:
See TracChangeset
for help on using the changeset viewer.