Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlain Magloire2006-12-29 04:03:56 +0000
committerAlain Magloire2006-12-29 04:03:56 +0000
commit00ab3049d98f63e11be8f922efe60adc6e97996e (patch)
tree4e6cafa395b80a4f3a997355ca95b2f3f9127dc5 /debug
parentb5d4d08ec1b0b4b733f8cf50300fdd7d3128f80f (diff)
downloadorg.eclipse.cdt-00ab3049d98f63e11be8f922efe60adc6e97996e.tar.gz
org.eclipse.cdt-00ab3049d98f63e11be8f922efe60adc6e97996e.tar.xz
org.eclipse.cdt-00ab3049d98f63e11be8f922efe60adc6e97996e.zip
fix PR 169223, the parser did not recognize the class std::string
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
index 0d2a590cc97..1d06fd2f36c 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
@@ -357,7 +357,9 @@ public class GDBTypeParser {
} else if (c == '>') {
count--;
}
- sb.append((char)c);
+ if (c != ' ') {
+ sb.append((char)c);
+ }
} while (count > 0 && c != EOF);
} else if (c != EOF) {
ungetch();

Back to the top