1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00
This commit is contained in:
Alain Magloire 2004-02-19 15:49:58 +00:00
parent 228957743b
commit 8605adfe72
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-02-19 Alain Magloire
PR 52317
The children were added in the wrong order.
* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
2004-02-17 Alain Magloire
If we attach save the PID for later

View file

@ -238,6 +238,7 @@ public class GDBTypeParser {
}
void prependChild(int kind, int d) {
/*
GDBDerivedType dType = new GDBDerivedType(genericType, kind, d);
if (gdbDerivedType != null) {
// get to the last node in the list and add the new to it
@ -256,6 +257,12 @@ public class GDBTypeParser {
} else {
gdbDerivedType = dType;
}
*/
if (gdbDerivedType == null) {
gdbDerivedType = new GDBDerivedType(genericType, kind, d);
} else {
gdbDerivedType = new GDBDerivedType(gdbDerivedType, kind, d);
}
}
// method returns the next token