This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Fix some of the sim builds
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 28 Jun 2004 20:54:57 -0400
- Subject: [commit] Fix some of the sim builds
They, as I've now discovered, are groping around in gdb internals :-(
committed,
Andrew
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.
Index: arm/armemu.c
===================================================================
RCS file: /cvs/src/src/sim/arm/armemu.c,v
retrieving revision 1.30
diff -p -u -r1.30 armemu.c
--- arm/armemu.c 30 Mar 2003 10:39:22 -0000 1.30
+++ arm/armemu.c 29 Jun 2004 00:47:56 -0000
@@ -56,7 +56,7 @@ static void Handle_Store_Double (ARM
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 */
Index: common/run.c
===================================================================
RCS file: /cvs/src/src/sim/common/run.c,v
retrieving revision 1.15
diff -p -u -r1.15 run.c
--- common/run.c 10 May 2004 16:18:03 -0000 1.15
+++ common/run.c 29 Jun 2004 00:47:56 -0000
@@ -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;
Index: d10v/interp.c
===================================================================
RCS file: /cvs/src/src/sim/d10v/interp.c,v
retrieving revision 1.15
diff -p -u -r1.15 interp.c
--- d10v/interp.c 22 Jun 2003 13:38:28 -0000 1.15
+++ d10v/interp.c 29 Jun 2004 00:47:56 -0000
@@ -49,7 +49,7 @@ static INLINE uint8 *map_memory (unsigne
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 */
}
Index: mn10200/interp.c
===================================================================
RCS file: /cvs/src/src/sim/mn10200/interp.c,v
retrieving revision 1.2
diff -p -u -r1.2 interp.c
--- mn10200/interp.c 27 Feb 2003 23:26:34 -0000 1.2
+++ mn10200/interp.c 29 Jun 2004 00:47:56 -0000
@@ -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 */