From 11c949aaae4b4cc30283a917133a485800514ecb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 24 Jun 2004 21:51:49 +0000 Subject: [PATCH] 2004-06-24 Andrew Cagney * 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. --- gdb/ChangeLog | 13 +++++++++++++ gdb/defs.h | 4 ++++ gdb/rdi-share/ardi.c | 1 - gdb/remote-sim.c | 2 -- gdb/ser-tcp.c | 1 - gdb/ser-unix.c | 2 -- gdb/v850ice.c | 2 -- gdb/win32-nat.c | 3 --- gdb/wince.c | 3 --- gdb/windows-nat.c | 3 --- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8997876..5d170e9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 2004-06-24 Andrew Cagney + * 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 + * 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 c6e3ec3..ce9ead3 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 3d17669..d7092dd 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 a407230..e058311 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 a9a8714..21d8476 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 38b6716..4b48f409 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 9f516a3..c36e756 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 27691f0..1d89f4a 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 d1dc4bc..1b883d6 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... */ diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 27691f0..1d89f4a 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-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... */ -- 2.7.4