diff src/cli/gdbmicli.d @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cli/gdbmicli.d	Tue Apr 05 20:44:01 2011 +0200
@@ -0,0 +1,88 @@
+/*  Ddbg - Win32 Debugger for the D programming language
+ *  Copyright (c) 2007 Jascha Wetzel
+ *  All rights reserved. See LICENSE.TXT for details.
+ */
+module cli.gdbmicli;
+
+import cli.userinterface;
+import breakpoint;
+import dbgprocess;
+import dbgthread;
+import expression.datahandler;
+
+import util;
+
+import win32.winnt;
+
+class GDBMICLI : UserInterfaceBase
+{
+	void init(string[] args)
+	{
+	}
+
+	int start()
+	{
+	    return 0;
+	}
+
+	bool parseCommand(string input)
+	{
+	    return false;
+	}
+
+	void debugString(string str)
+	{
+	}
+
+	bool breakpoint(int index, Breakpoint bp, DbgThread thread)
+	{
+	    return false;
+	}
+
+	void userInterrupt()
+	{
+	}
+
+	void exception(uint thread_id, string class_name, string msg, size_t obj_ptr)
+	{
+	}
+
+	void win32exception(uint threadId, EXCEPTION_RECORD* exrec)
+	{
+	}
+
+	void loadedDLL(DLL dll)
+	{
+	}
+
+	void exitProcess()
+	{
+	}
+
+	void singleStep()
+	{
+	}
+
+    /**********************************************************************************************
+
+    **********************************************************************************************/
+    void printAsmLine(uint address, string bytes, string asmsource, string symbol, string location, string source)
+	{
+	}
+
+	string symbolValueToString(SymbolValue val)
+	{
+	    return "";
+	}
+
+    /**********************************************************************************************
+        Read command and call CLI supplied parser function.
+        Gets called when debuggee is suspended.
+    **********************************************************************************************/
+	bool readCommand()
+	{
+		DbgIO.print("->");
+		string input = DbgIO.readln();
+		return parseCommand(input);
+	}
+}