diff options
Diffstat (limited to 'sim/mn10200/interp.c')
-rw-r--r-- | sim/mn10200/interp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/mn10200/interp.c b/sim/mn10200/interp.c index ea4e04f..90529c8 100644 --- a/sim/mn10200/interp.c +++ b/sim/mn10200/interp.c @@ -12,7 +12,7 @@ static long ui_loop_hook_counter = UI_LOOP_POLL_INTERVAL; /* Actual hook to call to run through gdb's gui event loop */ -extern int (*ui_loop_hook) (int); +extern int (*deprecated_ui_loop_hook) (int); #endif /* NEED_UI_LOOP_HOOK */ host_callback *mn10200_callback; @@ -326,10 +326,10 @@ sim_resume (sd, step, siggnal) unsigned long insn, extension; #ifdef NEED_UI_LOOP_HOOK - if (ui_loop_hook != NULL && ui_loop_hook_counter-- < 0) + if (deprecated_ui_loop_hook != NULL && ui_loop_hook_counter-- < 0) { ui_loop_hook_counter = UI_LOOP_POLL_INTERVAL; - ui_loop_hook (0); + deprecated_ui_loop_hook (0); } #endif /* NEED_UI_LOOP_HOOK */ |