Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2004-05-28 11:17:18 -0400
committerAlain Magloire2004-05-28 11:17:18 -0400
commite993ab0e1c88d002a2763d23bb1e0a047498aaf6 (patch)
tree328397be80bb866f318dc5916ac0b6fbae35fde4
parent13d0e52cba2fb5cced1c953faeb1c8bdb954cf9d (diff)
downloadorg.eclipse.cdt-e993ab0e1c88d002a2763d23bb1e0a047498aaf6.tar.gz
org.eclipse.cdt-e993ab0e1c88d002a2763d23bb1e0a047498aaf6.tar.xz
org.eclipse.cdt-e993ab0e1c88d002a2763d23bb1e0a047498aaf6.zip
Error in looking for the CIdentifier.
* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/ChangeLog5
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java2
2 files changed, 6 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
index c335132ea6..7dd69e777d 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.mi.core/ChangeLog
@@ -1,5 +1,10 @@
2004-05-28 Alain Magloire
+ Error in looking for the CIdentifier.
+ * src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
+
+2004-05-28 Alain Magloire
+
Fix to PR 60020.
GDB returns the children when a pointer
points to a structure.
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
index 80d9de47b1..e225122d7c 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
@@ -226,7 +226,7 @@ public class GDBTypeParser {
// GDB hack accept ':' ',' part of the GDB hacks
// when doing ptype gdb returns "class A : public C { ..}"
boolean isCIdentifierPart(int c) {
- if ((c >= '0' && c <= 9) || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '_' || c == ':') {
+ if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '_' || c == ':') {
return true;
}
return false;

Back to the top