summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/defs.h4
-rw-r--r--gdb/rdi-share/ardi.c1
-rw-r--r--gdb/remote-sim.c2
-rw-r--r--gdb/ser-tcp.c1
-rw-r--r--gdb/ser-unix.c2
-rw-r--r--gdb/v850ice.c2
-rw-r--r--gdb/win32-nat.c3
-rw-r--r--gdb/wince.c3
9 files changed, 17 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8997876efa5..5d170e9d501 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,18 @@
2004-06-24 Andrew Cagney <cagney@gnu.org>
+ * defs.h (post_add_symbol_hook, pre_add_symbol_hook)
+ (ui_loop_hook, selected_frame_level_changed_hook): Declare.
+ * wince.c (ui_loop_hook): Delete extern declaration.
+ * win32-nat.c (ui_loop_hook): Delete extern declaration..
+ * v850ice.c (ui_loop_hook): Delete extern declaration..
+ * ser-unix.c (ui_loop_hook): Delete extern declaration..
+ * ser-tcp.c (ui_loop_hook): Delete extern declaration..
+ * remote-sim.c (ui_loop_hook): Delete extern declaration..
+ * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
+ ui_loop_hook declaration.
+
+2004-06-24 Andrew Cagney <cagney@gnu.org>
+
* objfiles.h (struct entry_info): Delete entry_func_lowpc and
entry_func_highpc fields.
* objfiles.c (init_entry_point_info): Do not clear
diff --git a/gdb/defs.h b/gdb/defs.h
index c6e3ec36caf..ce9ead352a3 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1217,6 +1217,10 @@ struct cmd_list_element;
event-loop) be enabled? */
extern int event_loop_p;
+extern void (*pre_add_symbol_hook) (const char *);
+extern void (*post_add_symbol_hook) (void);
+extern void (*selected_frame_level_changed_hook) (int);
+extern int (*ui_loop_hook) (int signo);
extern void (*deprecated_init_ui_hook) (char *argv0);
extern void (*deprecated_command_loop_hook) (void);
extern void (*deprecated_show_load_progress) (const char *section,
diff --git a/gdb/rdi-share/ardi.c b/gdb/rdi-share/ardi.c
index bb10ca6732e..60eff0b8e03 100644
--- a/gdb/rdi-share/ardi.c
+++ b/gdb/rdi-share/ardi.c
@@ -1353,7 +1353,6 @@ void angel_RDI_stop_request(void)
static int angel_RDI_ExecuteOrStep(PointHandle *handle, word type,
unsigned ninstr)
{
- extern int (*ui_loop_hook) (int);
int err;
adp_stopped_struct stopped_info;
void* stateptr = (void *)&stopped_info;
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index a40723025ad..e058311a73d 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -48,8 +48,6 @@
extern void _initialize_remote_sim (void);
-extern int (*ui_loop_hook) (int signo);
-
static void dump_mem (char *buf, int len);
static void init_callbacks (void);
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index a9a87143cb3..21d84768d9c 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -44,7 +44,6 @@
static int net_open (struct serial *scb, const char *name);
static void net_close (struct serial *scb);
-extern int (*ui_loop_hook) (int);
void _initialize_ser_tcp (void);
/* seconds to wait for connect */
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index 38b6716d2ee..4b48f409a9c 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -99,8 +99,6 @@ static void reschedule (struct serial *scb);
void _initialize_ser_hardwire (void);
-extern int (*ui_loop_hook) (int);
-
/* Open up a real live device for serial I/O */
static int
diff --git a/gdb/v850ice.c b/gdb/v850ice.c
index 9f516a32d91..c36e7564e2e 100644
--- a/gdb/v850ice.c
+++ b/gdb/v850ice.c
@@ -50,8 +50,6 @@ struct MessageIO
/* Prototypes for functions located in other files */
extern void break_command (char *, int);
-extern int (*ui_loop_hook) (int);
-
/* Prototypes for local functions */
static int init_hidden_window (void);
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 27691f06729..1d89f4af765 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -56,9 +56,6 @@
#include "i386-tdep.h"
#include "i387-tdep.h"
-/* The ui's event loop. */
-extern int (*ui_loop_hook) (int signo);
-
/* If we're not using the old Cygwin header file set, define the
following which never should have been in the generic Win32 API
headers in the first place since they were our own invention... */
diff --git a/gdb/wince.c b/gdb/wince.c
index d1dc4bc90f7..1b883d6dc6e 100644
--- a/gdb/wince.c
+++ b/gdb/wince.c
@@ -60,9 +60,6 @@
#include "mips-tdep.h"
#endif
-/* The ui's event loop. */
-extern int (*ui_loop_hook) (int signo);
-
/* If we're not using the old Cygwin header file set, define the
following which never should have been in the generic Win32 API
headers in the first place since they were our own invention... */