]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-10-02 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 3 Oct 2002 02:34:07 +0000 (02:34 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 3 Oct 2002 02:34:07 +0000 (02:34 +0000)
* infcmd.c (interrupt_target_command_wrapper): Delete.
(interrupt_target_command): Make non static.
(nofp_registers_info): Make static.
* stack.c (return_command_wrapper): Delete.
(return_command): Make non static.

gdb/ChangeLog
gdb/infcmd.c
gdb/stack.c

index 413e60f6d485d9b9f44fc5acd15d952b0fe67fdf..d03a60b8b5dde95d2646e5f923b1ae80f987af89 100644 (file)
@@ -1,3 +1,11 @@
+2002-10-02  Elena Zannoni  <ezannoni@redhat.com>
+
+       * infcmd.c (interrupt_target_command_wrapper): Delete.
+       (interrupt_target_command): Make non static.
+       (nofp_registers_info): Make static.
+       * stack.c (return_command_wrapper): Delete.
+       (return_command): Make non static.
+
 2002-10-02  Elena Zannoni  <ezannoni@redhat.com>
 
        * event-top.c (gdb_setup_readline): New function. Code moved from
index a1d030bbce55d8edd11b00349a7dfec82fe194e0..a36258152c71385af0741cc99e1a39dc9634d643 100644 (file)
 #include "parser-defs.h"
 #include "regcache.h"
 
-/* Functions exported for general use: */
-
-void nofp_registers_info (char *, int);
+/* Functions exported for general use, in inferior.h: */
 
 void all_registers_info (char *, int);
 
 void registers_info (char *, int);
 
-/* Local functions: */
+void nexti_command (char *, int);
+
+void stepi_command (char *, int);
 
 void continue_command (char *, int);
 
+void interrupt_target_command (char *args, int from_tty);
+
+/* Local functions: */
+
+static void nofp_registers_info (char *, int);
+
 static void print_return_value (int struct_return, struct type *value_type);
 
 static void finish_command_continuation (struct continuation_arg *);
@@ -72,8 +78,6 @@ static void float_info (char *, int);
 
 static void detach_command (char *, int);
 
-static void interrupt_target_command (char *args, int from_tty);
-
 static void unset_environment_command (char *, int);
 
 static void set_environment_command (char *, int);
@@ -92,10 +96,6 @@ static void step_1 (int, int, char *);
 static void step_once (int skip_subroutines, int single_inst, int count);
 static void step_1_continuation (struct continuation_arg *arg);
 
-void nexti_command (char *, int);
-
-void stepi_command (char *, int);
-
 static void next_command (char *, int);
 
 static void step_command (char *, int);
@@ -1729,7 +1729,7 @@ all_registers_info (char *addr_exp, int from_tty)
   registers_info (addr_exp, 1);
 }
 
-void
+static void
 nofp_registers_info (char *addr_exp, int from_tty)
 {
   registers_info (addr_exp, 0);
@@ -1891,14 +1891,7 @@ detach_command (char *args, int from_tty)
 
 /* Stop the execution of the target while running in async mode, in
    the backgound. */
-
 void
-interrupt_target_command_wrapper (char *args, int from_tty)
-{
-  interrupt_target_command (args, from_tty);
-}
-
-static void
 interrupt_target_command (char *args, int from_tty)
 {
   if (event_loop_p && target_can_async_p ())
index 83fd26e476b84ffa6b83d9ba218c9ac7f44fd20b..b1cd9c7edde3a8166da944f39b20cc08da4bf1d1 100644 (file)
@@ -50,9 +50,9 @@ void (*selected_frame_level_changed_hook) (int);
 
 void _initialize_stack (void);
 
-/* Prototypes for local functions. */
+void return_command (char *, int);
 
-static void return_command (char *, int);
+/* Prototypes for local functions. */
 
 static void down_command (char *, int);
 
@@ -1755,12 +1755,6 @@ down_command (char *count_exp, int from_tty)
 }
 \f
 void
-return_command_wrapper (char *retval_exp, int from_tty)
-{
-  return_command (retval_exp, from_tty);
-}
-
-static void
 return_command (char *retval_exp, int from_tty)
 {
   struct symbol *thisfun;