Mercurial > projects > ddbg_continued
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:586e4a649642 | 1:4a9dcbd9e54f |
---|---|
1 /* Ddbg - Win32 Debugger for the D programming language | |
2 * Copyright (c) 2007 Jascha Wetzel | |
3 * All rights reserved. See LICENSE.TXT for details. | |
4 */ | |
5 module cli.gdbmicli; | |
6 | |
7 import cli.userinterface; | |
8 import breakpoint; | |
9 import dbgprocess; | |
10 import dbgthread; | |
11 import expression.datahandler; | |
12 | |
13 import util; | |
14 | |
15 import win32.winnt; | |
16 | |
17 class GDBMICLI : UserInterfaceBase | |
18 { | |
19 void init(string[] args) | |
20 { | |
21 } | |
22 | |
23 int start() | |
24 { | |
25 return 0; | |
26 } | |
27 | |
28 bool parseCommand(string input) | |
29 { | |
30 return false; | |
31 } | |
32 | |
33 void debugString(string str) | |
34 { | |
35 } | |
36 | |
37 bool breakpoint(int index, Breakpoint bp, DbgThread thread) | |
38 { | |
39 return false; | |
40 } | |
41 | |
42 void userInterrupt() | |
43 { | |
44 } | |
45 | |
46 void exception(uint thread_id, string class_name, string msg, size_t obj_ptr) | |
47 { | |
48 } | |
49 | |
50 void win32exception(uint threadId, EXCEPTION_RECORD* exrec) | |
51 { | |
52 } | |
53 | |
54 void loadedDLL(DLL dll) | |
55 { | |
56 } | |
57 | |
58 void exitProcess() | |
59 { | |
60 } | |
61 | |
62 void singleStep() | |
63 { | |
64 } | |
65 | |
66 /********************************************************************************************** | |
67 | |
68 **********************************************************************************************/ | |
69 void printAsmLine(uint address, string bytes, string asmsource, string symbol, string location, string source) | |
70 { | |
71 } | |
72 | |
73 string symbolValueToString(SymbolValue val) | |
74 { | |
75 return ""; | |
76 } | |
77 | |
78 /********************************************************************************************** | |
79 Read command and call CLI supplied parser function. | |
80 Gets called when debuggee is suspended. | |
81 **********************************************************************************************/ | |
82 bool readCommand() | |
83 { | |
84 DbgIO.print("->"); | |
85 string input = DbgIO.readln(); | |
86 return parseCommand(input); | |
87 } | |
88 } |