summaryrefslogtreecommitdiff
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
commit945cbadaf605d316ed26beb47eae7d80dd5ac305 (patch)
tree329dd25df0585b56c67d424d289ab91d4c9e4318
parent5b31ed69f4be287f4390d04481fafb2253e1a04f (diff)
downloadgdb-945cbadaf605d316ed26beb47eae7d80dd5ac305.tar.gz
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.
-rw-r--r--sim/arm/ChangeLog4
-rw-r--r--sim/arm/armemu.c6
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/run.c2
-rw-r--r--sim/d10v/ChangeLog5
-rw-r--r--sim/d10v/interp.c6
-rw-r--r--sim/mn10200/ChangeLog4
-rw-r--r--sim/mn10200/interp.c6
8 files changed, 27 insertions, 10 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 6447e219679..6dc94a512a0 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
+
2003-12-29 Mark Mitchell <mark@codesourcery.com>
* armos.c (fcntl.h): Do not include it.
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c
index d12ad10e41c..b484be49084 100644
--- a/sim/arm/armemu.c
+++ b/sim/arm/armemu.c
@@ -56,7 +56,7 @@ static void Handle_Store_Double (ARMul_State *, ARMword);
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 */
extern int stop_simulator;
@@ -3564,10 +3564,10 @@ check_PMUintr:
#endif
#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 */
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index b4d3d2a00b6..247ac577da4 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
+
2004-06-27 J"orn Rennecke <joern.rennecke@superh.com>
* callback.c (os_shutdown): Fix bug in last change: actually
diff --git a/sim/common/run.c b/sim/common/run.c
index f727bb19f41..a88e404a581 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -63,7 +63,7 @@ extern int getopt ();
#ifdef NEED_UI_LOOP_HOOK
/* Gdb foolery. This is only needed for gdb using a gui. */
-int (*ui_loop_hook) PARAMS ((int signo));
+int (*deprecated_ui_loop_hook) PARAMS ((int signo));
#endif
static SIM_DESC sd;
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index e5aff561989..514acd2146b 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-28 Andrew Cagney <cagney@gnu.org>
+
+ * interp.c (sim_resume): Rename ui_loop_hook to
+ deprecated_ui_loop_hook.
+
2003-10-30 Andrew Cagney <cagney@redhat.com>
* simops.c: Replace "struct symbol_cache_entry" with "struct
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index 284a4e144c4..e4bae222eee 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -49,7 +49,7 @@ static INLINE uint8 *map_memory (unsigned phys_addr);
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) PARAMS ((int signo));
+extern int (*deprecated_ui_loop_hook) PARAMS ((int signo));
#endif /* NEED_UI_LOOP_HOOK */
#ifndef INLINE
@@ -1061,10 +1061,10 @@ sim_resume (sd, step, siggnal)
SLOT_FLUSH ();
#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 */
}
diff --git a/sim/mn10200/ChangeLog b/sim/mn10200/ChangeLog
index 090b05c18b4..ea930dcf794 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 ea4e04f7e47..90529c89887 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 */