From a58dd3735c499b8e076e7e283b87361732119191 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 3 Oct 2002 02:34:07 +0000 Subject: 2002-10-02 Elena Zannoni * 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/infcmd.c | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) (limited to 'gdb/infcmd.c') diff --git a/gdb/infcmd.c b/gdb/infcmd.c index a1d030b..a362581 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -42,18 +42,24 @@ #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 ()) -- cgit v1.1