Fix debugger bug after merging matiec repositories
authorlaurent
Thu, 08 Sep 2011 20:25:44 +0200
changeset 611 b665a9001451
parent 610 00df5b1db283
child 612 f44651506a88
Fix debugger bug after merging matiec repositories
targets/plc_debug.c
--- a/targets/plc_debug.c	Wed Sep 07 16:01:13 2011 +0200
+++ b/targets/plc_debug.c	Thu Sep 08 20:25:44 2011 +0200
@@ -76,8 +76,8 @@
     *flags = 0;
     /* find data to copy*/
     switch(vartype){
-        ANY(__Unpack_case_t)
-        ANY(__Unpack_case_p)
+        __ANY(__Unpack_case_t)
+        __ANY(__Unpack_case_p)
     default:
         break;
     }
@@ -248,8 +248,8 @@
     void *varp = NULL;
     unsigned char flags = force ? __IEC_DEBUG_FLAG | __IEC_FORCE_FLAG : __IEC_DEBUG_FLAG;
     switch(__find_variable(idx, &varp)){
-        ANY(__RegisterDebugVariable_case_t)
-        ANY(__RegisterDebugVariable_case_p)
+        __ANY(__RegisterDebugVariable_case_t)
+        __ANY(__RegisterDebugVariable_case_p)
     default:
         break;
     }
@@ -270,8 +270,8 @@
 {
     /* force debug flag to 0*/
     switch(vartype){
-        ANY(__ResetDebugVariablesIterator_case_t)
-        ANY(__ResetDebugVariablesIterator_case_p)
+        __ANY(__ResetDebugVariablesIterator_case_t)
+        __ANY(__ResetDebugVariablesIterator_case_p)
     default:
         break;
     }