Index: /trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp	(revision 56429)
+++ /trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp	(revision 56430)
@@ -68,6 +68,9 @@
 int emR3InitDbg(PVM pVM)
 {
-    int rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
+    int rc = VINF_SUCCESS;
+#ifdef VBOX_WITH_DEBUGGER
+    rc = DBGCRegisterCommands(&g_aCmds[0], RT_ELEMENTS(g_aCmds));
     AssertLogRelRC(rc);
+#endif
     return rc;
 }
