Show
Ignore:
Timestamp:
06/16/07 22:57:20 (17 months ago)
Author:
krobillard
Message:

Debugger works again.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/thune.c

    r408 r415  
    284284#ifdef UR_CONFIG_EMH 
    285285#define EMH_STEP(pc,end) \ 
    286     if( ut->env->monitor(UR_EMH_STEP,pc,end) ) \ 
     286    if( ut->env->monitor(ut,UR_EMH_STEP,pc,end) ) \ 
    287287        goto call_return; 
    288288 
    289289#define EMH_HALT(pc,end) \ 
    290     if( ! ut->env->monitor(UR_EMH_HALT,pc,end) ) \ 
     290    if( ! ut->env->monitor(ut,UR_EMH_HALT,pc,end) ) \ 
    291291        goto execute; 
    292292#else 
     
    769769        case UT_CALL: 
    770770            val->call.addr( ut, UR_TOS ); 
    771 #ifdef UR_CONFIG_DT_CODE 
     771#if defined(UR_CONFIG_EMH) || defined(UR_CONFIG_DT_CODE) 
    772772call_return: 
    773773#endif