aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10200
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-29 00:54:00 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-29 00:54:00 +0000
commit0aaa4a81b0dff39524ca3d3e69cc824c550b9d15 (patch)
treeb8bf315cbaa933d64b721bf16cf4c3dac6e02a40 /sim/mn10200
parent243374f6566a93c4a18e22026a5eb67bcc80ec30 (diff)
downloadgdb-0aaa4a81b0dff39524ca3d3e69cc824c550b9d15.zip
gdb-0aaa4a81b0dff39524ca3d3e69cc824c550b9d15.tar.gz
gdb-0aaa4a81b0dff39524ca3d3e69cc824c550b9d15.tar.bz2
Index: mn10200/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: d10v/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * interp.c (sim_resume): Rename ui_loop_hook to deprecated_ui_loop_hook. Index: arm/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook. Index: common/ChangeLog 2004-06-28 Andrew Cagney <cagney@gnu.org> * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Diffstat (limited to 'sim/mn10200')
-rw-r--r--sim/mn10200/ChangeLog4
-rw-r--r--sim/mn10200/interp.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/sim/mn10200/ChangeLog b/sim/mn10200/ChangeLog
index 090b05c..ea930dc 100644
--- a/sim/mn10200/ChangeLog
+++ b/sim/mn10200/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
+
2003-02-27 Andrew Cagney <cagney@redhat.com>
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
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 */