Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2015-12-08 19:51:15 +0000
committerEugene Tarassov2015-12-08 19:51:15 +0000
commit5b0bdf921677312b4dee9152a0286264377e5740 (patch)
treec08059445b478fa29e3f0c4f40569420a0962462 /agent/tcf/services/symbols_win32.c
parent7703a8f4f1ed22574f43434e4eb5c020f00e4ba3 (diff)
downloadorg.eclipse.tcf.agent-5b0bdf921677312b4dee9152a0286264377e5740.tar.gz
org.eclipse.tcf.agent-5b0bdf921677312b4dee9152a0286264377e5740.tar.xz
org.eclipse.tcf.agent-5b0bdf921677312b4dee9152a0286264377e5740.zip
TCF Agent: fixed too strict assert in Windows symbol reader
Diffstat (limited to 'agent/tcf/services/symbols_win32.c')
-rw-r--r--agent/tcf/services/symbols_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/tcf/services/symbols_win32.c b/agent/tcf/services/symbols_win32.c
index 84504c7c..e95346ed 100644
--- a/agent/tcf/services/symbols_win32.c
+++ b/agent/tcf/services/symbols_win32.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2014 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
@@ -582,7 +582,7 @@ int get_symbol_type(const Symbol * sym, Symbol ** type) {
*type = res;
return 0;
}
- assert(sym->sym_class == SYM_CLASS_TYPE);
+ assert(sym->sym_class == SYM_CLASS_UNKNOWN || sym->sym_class == SYM_CLASS_TYPE);
}
*type = (Symbol *)sym;
return 0;

Back to the top