1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 11:25:35 +02:00
This commit is contained in:
Alain Magloire 2003-08-20 15:48:48 +00:00
parent c96dfdc80c
commit 5033de1c2e
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,16 @@
2003-08-20 Alain Magloire
GDB/MI altough define an interface that all commands should
follow .. they do not. For example, we should be able
to separate options from agument with a "--" string not
all commands. The latest is -break-condition.
So we override the MICommand.toString() to do specific
parsing for specific commands.
* src/org/eclipse/cdt/debug/mi/core/command/MICommand.java
break the toString() method.
* src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java
2003-08-19 Alain Magloire
Fix to the GDBTypeParser to deal with gdb

View file

@ -235,6 +235,8 @@ public class SourceManager extends SessionObject implements ICDISourceManager {
Type headType = null;
Type type = null;
// Convert the GDBType to an ICDIType.
// So we go through the gdbType tree and reconstruct an ICDIType tree
for (Type aType = null; gdbType != null; type = aType) {
if (gdbType instanceof GDBDerivedType) {
switch(gdbType.getType()) {