OSDN Git Service

2004-06-24 Andrew Cagney <cagney@gnu.org>
authorcagney <cagney>
Thu, 24 Jun 2004 21:51:47 +0000 (21:51 +0000)
committercagney <cagney>
Thu, 24 Jun 2004 21:51:47 +0000 (21:51 +0000)
* 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
gdb/defs.h
gdb/rdi-share/ardi.c
gdb/remote-sim.c
gdb/ser-tcp.c
gdb/ser-unix.c
gdb/v850ice.c
gdb/win32-nat.c
gdb/wince.c

index 8997876..5d170e9 100644 (file)
@@ -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
index c6e3ec3..ce9ead3 100644 (file)
@@ -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,
index 3d17669..d7092dd 100644 (file)
@@ -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;
index a407230..e058311 100644 (file)
@@ -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);
index a9a8714..21d8476 100644 (file)
@@ -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 */
index 38b6716..4b48f40 100644 (file)
@@ -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
index 9f516a3..c36e756 100644 (file)
@@ -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);
 
index 27691f0..1d89f4a 100644 (file)
@@ -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... */
index d1dc4bc..1b883d6 100644 (file)
@@ -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... */