diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-21 01:26:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-21 01:26:46 +0000 |
commit | deafb06122053cb1d49e0599e76fa9b7e52537dc (patch) | |
tree | 637c12952d7a00b2f396b24e1904744b9e54fb37 /gdb | |
parent | 9079988faa5c28ece0b3f2bdaa505fc51a44fc73 (diff) | |
download | fsf-binutils-gdb-deafb06122053cb1d49e0599e76fa9b7e52537dc.zip fsf-binutils-gdb-deafb06122053cb1d49e0599e76fa9b7e52537dc.tar.gz fsf-binutils-gdb-deafb06122053cb1d49e0599e76fa9b7e52537dc.tar.bz2 |
2003-09-20 Andrew Cagney <cagney@redhat.com>
* breakpoint.c: Eliminate ARGSUSED.
* buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto.
* coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto.
* exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto.
* infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto.
* procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto.
* remote.c, sol-thread.c, source.c, stabsread.c: Ditto.
* stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto.
* utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto.
* wince.c, remote-vx.c: Ditto.
Diffstat (limited to 'gdb')
40 files changed, 11 insertions, 119 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b706484..7185355 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2003-09-20 Andrew Cagney <cagney@redhat.com> + * breakpoint.c: Eliminate ARGSUSED. + * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. + * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. + * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. + * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. + * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. + * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. + * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. + * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. + * wince.c, remote-vx.c: Ditto. + * cli/cli-script.c: Remove "register" attributes. * config/pa/tm-hppa.h: Ditto. * cli/cli-decode.c: Ditto. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index e669f38..fa07e19 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -560,7 +560,6 @@ condition_command (char *arg, int from_tty) error ("No breakpoint number %d.", bnum); } -/* ARGSUSED */ static void commands_command (char *arg, int from_tty) { @@ -1924,7 +1923,6 @@ bpstat_clear_actions (bpstat bs) } /* Stub for cleaning up our state if we error-out of a breakpoint command */ -/* ARGSUSED */ static void cleanup_executing_breakpoints (void *ignore) { @@ -3666,7 +3664,6 @@ breakpoint_1 (int bnum, int allflag) annotate_breakpoints_table_end (); } -/* ARGSUSED */ static void breakpoints_info (char *bnum_exp, int from_tty) { @@ -3678,7 +3675,6 @@ breakpoints_info (char *bnum_exp, int from_tty) breakpoint_1 (bnum, 0); } -/* ARGSUSED */ static void maintenance_info_breakpoints (char *bnum_exp, int from_tty) { @@ -5320,7 +5316,6 @@ stopat_command (char *arg, int from_tty) break_command_1 (arg, 0, from_tty); } -/* ARGSUSED */ /* accessflag: hw_write: watch write, hw_read: watch read, hw_access: watch access (read or write) */ @@ -5623,7 +5618,6 @@ until_break_command_continuation (struct continuation_arg *arg) do_exec_cleanups (cleanups); } -/* ARGSUSED */ void until_break_command (char *arg, int from_tty, int anywhere) { @@ -7132,7 +7126,6 @@ disable_breakpoint (struct breakpoint *bpt) breakpoint_modify_event (bpt->number); } -/* ARGSUSED */ static void disable_command (char *args, int from_tty) { @@ -7266,7 +7259,6 @@ enable_breakpoint (struct breakpoint *bpt) breakpoints) so they once again become (or continue to be) effective in stopping the inferior. */ -/* ARGSUSED */ static void enable_command (char *args, int from_tty) { @@ -7306,7 +7298,6 @@ enable_once_breakpoint (struct breakpoint *bpt) do_enable_breakpoint (bpt, disp_disable); } -/* ARGSUSED */ static void enable_once_command (char *args, int from_tty) { @@ -7319,7 +7310,6 @@ enable_delete_breakpoint (struct breakpoint *bpt) do_enable_breakpoint (bpt, disp_del); } -/* ARGSUSED */ static void enable_delete_command (char *args, int from_tty) { diff --git a/gdb/buildsym.c b/gdb/buildsym.c index f2784a6..0e7b874 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -164,7 +164,6 @@ find_symbol_in_list (struct pending *list, char *name, int length) /* At end of reading syms, or in case of quit, really free as many `struct pending's as we can easily find. */ -/* ARGSUSED */ void really_free_pendings (void *dummy) { diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index b954de1..2602c57 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -184,7 +184,6 @@ error_no_arg (char *why) /* The "info" command is defined as a prefix, with allow_unknown = 0. Therefore, its own definition is called only for "info" with no args. */ -/* ARGSUSED */ static void info_command (char *arg, int from_tty) { @@ -194,7 +193,6 @@ info_command (char *arg, int from_tty) /* The "show" command with no arguments shows all the settings. */ -/* ARGSUSED */ static void show_command (char *arg, int from_tty) { @@ -204,7 +202,6 @@ show_command (char *arg, int from_tty) /* Provide documentation on command or list given by COMMAND. FROM_TTY is ignored. */ -/* ARGSUSED */ static void help_command (char *command, int from_tty) { @@ -222,7 +219,6 @@ compare_strings (const void *arg1, const void *arg2) /* The "complete" command is used by Emacs to implement completion. */ -/* ARGSUSED */ static void complete_command (char *arg, int from_tty) { @@ -275,7 +271,6 @@ is_complete_command (struct cmd_list_element *c) return cmd_cfunc_eq (c, complete_command); } -/* ARGSUSED */ static void show_version (char *args, int from_tty) { @@ -295,7 +290,6 @@ quit_command (char *args, int from_tty) quit_force (args, from_tty); } -/* ARGSUSED */ static void pwd_command (char *args, int from_tty) { @@ -439,7 +433,6 @@ source_command (char *args, int from_tty) do_cleanups (old_cleanups); } -/* ARGSUSED */ static void echo_command (char *text, int from_tty) { @@ -469,7 +462,6 @@ echo_command (char *text, int from_tty) gdb_flush (gdb_stdout); } -/* ARGSUSED */ static void shell_escape (char *arg, int from_tty) { @@ -820,7 +812,6 @@ list_command (char *arg, int from_tty) Two arguments are interpeted as bounds within which to dump assembly. */ -/* ARGSUSED */ static void disassemble_command (char *arg, int from_tty) { @@ -920,7 +911,6 @@ make_command (char *arg, int from_tty) shell_escape (p, from_tty); } -/* ARGSUSED */ static void show_user (char *args, int from_tty) { diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 3452a4b..cac5408 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1233,7 +1233,6 @@ source_cleanup_lines (void *args) error_pre_print = p->old_error_pre_print; } -/* ARGSUSED */ static void do_fclose_cleanup (void *stream) { diff --git a/gdb/coffread.c b/gdb/coffread.c index 0fd91e0..7d7df8e 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -469,7 +469,6 @@ coff_symfile_init (struct objfile *objfile) of the line table (minimum and maximum file offset) so that the mainline code can read the whole thing for efficiency. */ -/* ARGSUSED */ static void find_linenos (bfd *abfd, sec_ptr asect, void *vpinfo) { @@ -506,7 +505,6 @@ static bfd *symfile_bfd; /* Read a symbol file, after initialization by coff_symfile_init. */ -/* ARGSUSED */ static void coff_symfile_read (struct objfile *objfile, int mainline) { @@ -2036,7 +2034,6 @@ coff_read_struct_type (int index, int length, int lastsym) and create and return a suitable type object. Also defines the symbols that represent the values of the type. */ -/* ARGSUSED */ static struct type * coff_read_enum_type (int index, int length, int lastsym) { diff --git a/gdb/corelow.c b/gdb/corelow.c index 016140f..178dc8b 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -179,7 +179,6 @@ gdb_check_format (bfd *abfd) /* Discard all vestiges of any previous core file and mark data and stack spaces as empty. */ -/* ARGSUSED */ static void core_close (int quitting) { @@ -449,7 +448,6 @@ get_core_register_section (char *name, /* We just get all the registers, so we don't use regno. */ -/* ARGSUSED */ static void get_core_registers (int regno) { diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 945a387..468151f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3981,7 +3981,6 @@ dwarf2_read_abbrevs (bfd *abfd, struct comp_unit_head *cu_header) /* Empty the abbrev table for a new compilation unit. */ -/* ARGSUSED */ static void dwarf2_empty_abbrev_table (void *ptr_to_abbrevs_table) { @@ -7164,7 +7163,6 @@ decode_locdesc (struct dwarf_block *blk, struct objfile *objfile, /* memory allocation interface */ -/* ARGSUSED */ static void dwarf2_free_tmp_obstack (void *ignore) { diff --git a/gdb/event-top.c b/gdb/event-top.c index 21f8a7a..28c482d 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -1084,7 +1084,6 @@ handle_sigwinch (int sig) /* Called by do_setshow_command. */ -/* ARGSUSED */ void set_async_editing_command (char *args, int from_tty, struct cmd_list_element *c) { @@ -1092,7 +1091,6 @@ set_async_editing_command (char *args, int from_tty, struct cmd_list_element *c) } /* Called by do_setshow_command. */ -/* ARGSUSED */ void set_async_annotation_level (char *args, int from_tty, struct cmd_list_element *c) { @@ -1100,7 +1098,6 @@ set_async_annotation_level (char *args, int from_tty, struct cmd_list_element *c } /* Called by do_setshow_command. */ -/* ARGSUSED */ void set_async_prompt (char *args, int from_tty, struct cmd_list_element *c) { @@ -94,7 +94,6 @@ exec_open (char *args, int from_tty) exec_file_attach (args, from_tty); } -/* ARGSUSED */ static void exec_close (int quitting) { diff --git a/gdb/gcore.c b/gdb/gcore.c index 5bf09fd..709d469 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -285,7 +285,6 @@ derive_heap_segment (bfd *abfd, bfd_vma *bottom, bfd_vma *top) return 0; } -/* ARGSUSED */ static void make_output_phdrs (bfd *obfd, asection *osec, void *ignored) { diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c index d66874b..6136421 100644 --- a/gdb/hpux-thread.c +++ b/gdb/hpux-thread.c @@ -131,7 +131,6 @@ find_tcb (ptid_t ptid) /* Most target vector functions from here on actually just pass through to inftarg.c, as they don't need to do anything specific for threads. */ -/* ARGSUSED */ static void hpux_thread_open (char *arg, int from_tty) { diff --git a/gdb/infcmd.c b/gdb/infcmd.c index e408d87..555d772 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -261,7 +261,6 @@ notice_args_read (char *args, int from_tty, struct cmd_list_element *c) /* Compute command-line string given argument vector. This does the same shell processing as fork_inferior. */ -/* ARGSUSED */ char * construct_inferior_arguments (struct gdbarch *gdbarch, int argc, char **argv) { @@ -370,7 +369,6 @@ strip_bg_char (char **args) return 0; } -/* ARGSUSED */ void tty_command (char *file, int from_tty) { @@ -543,7 +541,6 @@ continue_command (char *proc_count_exp, int from_tty) /* Step until outside of current statement. */ -/* ARGSUSED */ static void step_command (char *count_string, int from_tty) { @@ -552,7 +549,6 @@ step_command (char *count_string, int from_tty) /* Likewise, but skip over subroutine calls as if single instructions. */ -/* ARGSUSED */ static void next_command (char *count_string, int from_tty) { @@ -561,14 +557,12 @@ next_command (char *count_string, int from_tty) /* Likewise, but step only one instruction. */ -/* ARGSUSED */ void stepi_command (char *count_string, int from_tty) { step_1 (0, 1, count_string); } -/* ARGSUSED */ void nexti_command (char *count_string, int from_tty) { @@ -958,7 +952,6 @@ signal_command (char *signum_exp, int from_tty) we set. This may involve changes to wait_for_inferior and the proceed status code. */ -/* ARGSUSED */ static void until_next_command (int from_tty) { @@ -1284,7 +1277,6 @@ finish_command (char *arg, int from_tty) } } -/* ARGSUSED */ static void program_info (char *args, int from_tty) { @@ -1446,7 +1438,6 @@ unset_environment_command (char *var, int from_tty) static const char path_var_name[] = "PATH"; -/* ARGSUSED */ static void path_info (char *args, int from_tty) { @@ -1904,7 +1895,6 @@ interrupt_target_command (char *args, int from_tty) } } -/* ARGSUSED */ static void print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args) @@ -1941,7 +1931,6 @@ float_info (char *args, int from_tty) print_float_info (current_gdbarch, gdb_stdout, deprecated_selected_frame, args); } -/* ARGSUSED */ static void unset_command (char *args, int from_tty) { diff --git a/gdb/inflow.c b/gdb/inflow.c index b860af7..55f6ab5 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -412,14 +412,12 @@ terminal_ours_1 (int output_only) } } -/* ARGSUSED */ void term_info (char *arg, int from_tty) { target_terminal_info (arg, from_tty); } -/* ARGSUSED */ void child_terminal_info (char *args, int from_tty) { @@ -572,7 +570,6 @@ new_tty (void) /* Kill the inferior process. Make us have no inferior. */ -/* ARGSUSED */ static void kill_command (char *arg, int from_tty) { @@ -604,7 +601,6 @@ kill_command (char *arg, int from_tty) /* Call set_sigint_trap when you need to pass a signal on to an attached process when handling SIGINT */ -/* ARGSUSED */ static void pass_signal (int signo) { diff --git a/gdb/infrun.c b/gdb/infrun.c index f4ab632..792e080 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -495,7 +495,6 @@ static int singlestep_breakpoints_inserted_p = 0; /* Things to clean up if we QUIT out of resume (). */ -/* ARGSUSED */ static void resume_cleanups (void *ignore) { diff --git a/gdb/inftarg.c b/gdb/inftarg.c index 7786579..05036b6 100644 --- a/gdb/inftarg.c +++ b/gdb/inftarg.c @@ -306,7 +306,6 @@ child_files_info (struct target_ops *ignore) attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid)); } -/* ARGSUSED */ static void child_open (char *arg, int from_tty) { diff --git a/gdb/maint.c b/gdb/maint.c index b55cb67..f7bb194 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -92,7 +92,6 @@ maintenance_command (char *args, int from_tty) } #ifndef _WIN32 -/* ARGSUSED */ static void maintenance_dump_me (char *args, int from_tty) { @@ -191,7 +190,6 @@ maintenance_space_display (char *args, int from_tty) allow_unknown 0. Therefore, its own definition is called only for "maintenance info" with no args. */ -/* ARGSUSED */ static void maintenance_info_command (char *arg, int from_tty) { @@ -353,7 +351,6 @@ print_objfile_section_info (bfd *abfd, } } -/* ARGSUSED */ static void maintenance_info_sections (char *arg, int from_tty) { @@ -399,7 +396,6 @@ maintenance_info_sections (char *arg, int from_tty) } } -/* ARGSUSED */ void maintenance_print_statistics (char *args, int from_tty) { @@ -426,7 +422,6 @@ maintenance_print_architecture (char *args, int from_tty) allow_unknown 0. Therefore, its own definition is called only for "maintenance print" with no args. */ -/* ARGSUSED */ static void maintenance_print_command (char *arg, int from_tty) { @@ -159,7 +159,6 @@ ocd_thread_alive (ptid_t th) /* Clean up connection to a remote debugger. */ -/* ARGSUSED */ void ocd_close (int quitting) { @@ -737,7 +736,6 @@ ocd_read_bytes (CORE_ADDR memaddr, char *myaddr, int len) nonzero. Returns length of data written or read; 0 for error. TARGET is ignored. */ -/* ARGSUSED */ int ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, struct mem_attrib *attrib, struct target_ops *target) diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 544f59b..3c7ad41 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -942,7 +942,6 @@ print_command_1 (char *exp, int inspect, int voidprint) inspect_it = 0; /* Reset print routines to normal */ } -/* ARGSUSED */ static void print_command (char *exp, int from_tty) { @@ -950,7 +949,6 @@ print_command (char *exp, int from_tty) } /* Same as print, except in epoch, it gets its own window */ -/* ARGSUSED */ static void inspect_command (char *exp, int from_tty) { @@ -960,14 +958,12 @@ inspect_command (char *exp, int from_tty) } /* Same as print, except it doesn't print void results. */ -/* ARGSUSED */ static void call_command (char *exp, int from_tty) { print_command_1 (exp, 0, 0); } -/* ARGSUSED */ void output_command (char *exp, int from_tty) { @@ -1002,7 +998,6 @@ output_command (char *exp, int from_tty) do_cleanups (old_chain); } -/* ARGSUSED */ static void set_command (char *exp, int from_tty) { @@ -1013,7 +1008,6 @@ set_command (char *exp, int from_tty) do_cleanups (old_chain); } -/* ARGSUSED */ static void sym_info (char *arg, int from_tty) { @@ -1058,7 +1052,6 @@ sym_info (char *arg, int from_tty) printf_filtered ("No symbol matches %s.\n", arg); } -/* ARGSUSED */ static void address_info (char *exp, int from_tty) { @@ -1694,7 +1687,6 @@ enable_display (char *args, int from_tty) } } -/* ARGSUSED */ static void disable_display_command (char *args, int from_tty) { @@ -1737,7 +1729,6 @@ print_variable_value (struct symbol *var, struct frame_info *frame, value_print (val, stream, 0, Val_pretty_default); } -/* ARGSUSED */ static void printf_command (char *arg, int from_tty) { diff --git a/gdb/procfs.c b/gdb/procfs.c index 11fa6f3..a92b849 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5519,7 +5519,6 @@ mappingflags (long flags) * Callback function, does the actual work for 'info proc mappings'. */ -/* ARGSUSED */ static int info_mappings_callback (struct prmap *map, int (*ignore) (), void *unused) { diff --git a/gdb/regcache.c b/gdb/regcache.c index 3561d7c..182ca55 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1407,7 +1407,6 @@ deprecated_read_fp (void) internal_error (__FILE__, __LINE__, "deprecated_read_fp"); } -/* ARGSUSED */ static void reg_flush_command (char *command, int from_tty) { diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index a868f38..bd208c1 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -524,7 +524,6 @@ arm_rdi_wait (ptid_t ptid, struct target_waitstatus *status) /* Read the remote registers into the block REGS. */ -/* ARGSUSED */ static void arm_rdi_fetch_registers (int regno) { @@ -624,7 +623,6 @@ arm_rdi_store_registers (int regno) if SHOULD_WRITE is nonzero. Returns length of data written or read; 0 for error. TARGET is unused. */ -/* ARGSUSED */ static int arm_rdi_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, struct mem_attrib *attrib, diff --git a/gdb/remote-sds.c b/gdb/remote-sds.c index a07827c..c920997 100644 --- a/gdb/remote-sds.c +++ b/gdb/remote-sds.c @@ -148,7 +148,6 @@ static int message_pending; /* Clean up connection to a remote debugger. */ -/* ARGSUSED */ static void sds_close (int quitting) { @@ -467,7 +466,6 @@ static unsigned char sprs[16]; /* Read the remote registers into the block REGS. */ /* Currently we just read all the registers, so we don't use regno. */ -/* ARGSUSED */ static void sds_fetch_registers (int regno) { @@ -657,7 +655,6 @@ sds_read_bytes (CORE_ADDR memaddr, char *myaddr, int len) if SHOULD_WRITE is nonzero. Returns length of data written or read; 0 for error. TARGET is unused. */ -/* ARGSUSED */ static int sds_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, struct mem_attrib *attrib, struct target_ops *target) diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 74665e8..fd51781 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -1335,7 +1335,6 @@ vx_close (int quitting) } /* A vxprocess target should be started via "run" not "target". */ -/*ARGSUSED */ static void vx_proc_open (char *name, int from_tty) { diff --git a/gdb/remote.c b/gdb/remote.c index dd16354..0a10873 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -1903,7 +1903,6 @@ extended_remote_restart (void) /* Clean up connection to a remote debugger. */ -/* ARGSUSED */ static void remote_close (int quitting) { @@ -3413,7 +3412,6 @@ static int register_bytes_found; /* Read the remote registers into the block REGS. */ /* Currently we just read all the registers, so we don't use regnum. */ -/* ARGSUSED */ static void remote_fetch_registers (int regnum) { @@ -3967,7 +3965,6 @@ remote_read_bytes (CORE_ADDR memaddr, char *myaddr, int len) SHOULD_WRITE is nonzero. Returns length of data written or read; 0 for error. TARGET is unused. */ -/* ARGSUSED */ static int remote_xfer_memory (CORE_ADDR mem_addr, char *buffer, int mem_len, int should_write, struct mem_attrib *attrib, diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 3a11c31..72313dc 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -401,8 +401,6 @@ lwp_to_thread (ptid_t lwp) /* Most target vector functions from here on actually just pass through to procfs.c, as they don't need to do anything specific for threads. */ - -/* ARGSUSED */ static void sol_thread_open (char *arg, int from_tty) { diff --git a/gdb/source.c b/gdb/source.c index 5638839..a44a93b 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1347,7 +1347,6 @@ line_info (char *arg, int from_tty) /* Commands to search the source file for a regexp. */ -/* ARGSUSED */ static void forward_search_command (char *regex, int from_tty) { @@ -1443,7 +1442,6 @@ forward_search_command (char *regex, int from_tty) fclose (stream); } -/* ARGSUSED */ static void reverse_search_command (char *regex, int from_tty) { diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 93f61d5..bb89edb 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1211,7 +1211,6 @@ symbol_reference_defined (char **string) } } -/* ARGSUSED */ struct symbol * define_symbol (CORE_ADDR valu, char *string, int desc, int type, struct objfile *objfile) diff --git a/gdb/stack.c b/gdb/stack.c index ddbefd0..72d7f22 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1488,7 +1488,6 @@ print_frame_label_vars (struct frame_info *fi, int this_level_only, } } -/* ARGSUSED */ void locals_info (char *args, int from_tty) { @@ -1736,7 +1735,6 @@ current_frame_command (char *level_exp, int from_tty) /* Select the frame up one or COUNT stack levels from the previously selected frame, and print it briefly. */ -/* ARGSUSED */ static void up_silently_base (char *count_exp) { @@ -1773,7 +1771,6 @@ up_command (char *count_exp, int from_tty) /* Select the frame down one or COUNT stack levels from the previously selected frame, and print it briefly. */ -/* ARGSUSED */ static void down_silently_base (char *count_exp) { @@ -1802,7 +1799,6 @@ down_silently_base (char *count_exp) selected_frame_level_changed_event (frame_relative_level (deprecated_selected_frame)); } -/* ARGSUSED */ static void down_silently_command (char *count_exp, int from_tty) { diff --git a/gdb/symfile.c b/gdb/symfile.c index 0e08438..af881d6 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1666,7 +1666,6 @@ print_transfer_performance (struct ui_file *stream, instead a call to target_link() (in target.c) would supply the value to use. We are now discontinuing this type of ad hoc syntax. */ -/* ARGSUSED */ static void add_symbol_file_command (char *args, int from_tty) { diff --git a/gdb/target.c b/gdb/target.c index e738208..7539b3c 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -206,7 +206,6 @@ DCACHE *target_dcache; /* The user just typed 'target' without the name of a target. */ -/* ARGSUSED */ static void target_command (char *arg, int from_tty) { @@ -260,7 +259,6 @@ target_load (char *arg, int from_tty) (*current_target.to_load) (arg, from_tty); } -/* ARGSUSED */ static int nomemory (CORE_ADDR memaddr, char *myaddr, int len, int write, struct target_ops *t) @@ -282,14 +280,12 @@ noprocess (void) error ("You can't do that without a process to debug."); } -/* ARGSUSED */ static int nosymbol (char *name, CORE_ADDR *addrp) { return 1; /* Symbol does not exist in target env */ } -/* ARGSUSED */ static void nosupport_runtime (void) { @@ -300,7 +296,6 @@ nosupport_runtime (void) } -/* ARGSUSED */ static void default_terminal_info (char *args, int from_tty) { @@ -1077,7 +1072,6 @@ target_write_memory_partial (CORE_ADDR memaddr, char *buf, int len, int *err) return target_xfer_memory_partial (memaddr, buf, len, 1, err); } -/* ARGSUSED */ static void target_info (char *args, int from_tty) { @@ -1500,7 +1494,6 @@ normal_target_post_startup_inferior (ptid_t ptid) } /* Error-catcher for target_find_memory_regions */ -/* ARGSUSED */ static int dummy_find_memory_regions (int (*ignore1) (), void *ignore2) { error ("No target."); @@ -1508,7 +1501,6 @@ static int dummy_find_memory_regions (int (*ignore1) (), void *ignore2) } /* Error-catcher for target_make_corefile_notes */ -/* ARGSUSED */ static char * dummy_make_corefile_notes (bfd *ignore1, int *ignore2) { error ("No target."); @@ -1504,7 +1504,6 @@ input_from_terminal_p (void) return gdb_has_a_terminal () && (instream == stdin) & caution; } -/* ARGSUSED */ static void dont_repeat_command (char *ignored, int from_tty) { @@ -1590,7 +1589,6 @@ show_commands (char *args, int from_tty) } /* Called by do_setshow_command. */ -/* ARGSUSED */ static void set_history_size_command (char *args, int from_tty, struct cmd_list_element *c) { @@ -1605,7 +1603,6 @@ set_history_size_command (char *args, int from_tty, struct cmd_list_element *c) } } -/* ARGSUSED */ void set_history (char *args, int from_tty) { @@ -1613,7 +1610,6 @@ set_history (char *args, int from_tty) help_list (sethistlist, "set history ", -1, gdb_stdout); } -/* ARGSUSED */ void show_history (char *args, int from_tty) { @@ -1623,7 +1619,6 @@ show_history (char *args, int from_tty) int info_verbose = 0; /* Default verbose msgs off */ /* Called by do_setshow_command. An elaborate joke. */ -/* ARGSUSED */ void set_verbose (char *args, int from_tty, struct cmd_list_element *c) { diff --git a/gdb/typeprint.c b/gdb/typeprint.c index 1361e11..82ca5f1 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -173,7 +173,6 @@ whatis_exp (char *exp, int show) do_cleanups (old_chain); } -/* ARGSUSED */ static void whatis_command (char *exp, int from_tty) { @@ -200,7 +199,6 @@ ptype_eval (struct expression *exp) /* TYPENAME is either the name of a type, or an expression. */ -/* ARGSUSED */ static void ptype_command (char *typename, int from_tty) { diff --git a/gdb/utils.c b/gdb/utils.c index 46b24b6..5868465 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -427,7 +427,6 @@ free_current_contents (void *ptr) In such cases, we may not be certain where the first cleanup is, unless we have a do-nothing one to always use as the base. */ -/* ARGSUSED */ void null_cleanup (void *arg) { @@ -1684,7 +1683,6 @@ set_width (void) wrap_pointer = wrap_buffer; /* Start it at the beginning. */ } -/* ARGSUSED */ static void set_width_command (char *args, int from_tty, struct cmd_list_element *c) { @@ -1692,7 +1690,6 @@ set_width_command (char *args, int from_tty, struct cmd_list_element *c) set_width (); } -/* ARGSUSED */ static void set_height_command (char *args, int from_tty, struct cmd_list_element *c) { diff --git a/gdb/v850ice.c b/gdb/v850ice.c index bb1385a..e0331fa 100644 --- a/gdb/v850ice.c +++ b/gdb/v850ice.c @@ -371,7 +371,6 @@ v850ice_open (char *name, int from_tty) /* Clean up connection to a remote debugger. */ -/* ARGSUSED */ static void v850ice_close (int quitting) { @@ -587,7 +586,6 @@ v850ice_prepare_to_store (void) We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL dies. */ -/* ARGSUSED */ static int v850ice_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, struct target_ops *target) diff --git a/gdb/valprint.c b/gdb/valprint.c index 71e391a..0aaf8f5 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -1183,14 +1183,12 @@ val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream) knows what they really did here. Radix setting is confusing, e.g. setting the input radix to "10" never changes it! */ -/* ARGSUSED */ static void set_input_radix (char *args, int from_tty, struct cmd_list_element *c) { set_input_radix_1 (from_tty, input_radix); } -/* ARGSUSED */ static void set_input_radix_1 (int from_tty, unsigned radix) { @@ -1216,7 +1214,6 @@ set_input_radix_1 (int from_tty, unsigned radix) } } -/* ARGSUSED */ static void set_output_radix (char *args, int from_tty, struct cmd_list_element *c) { @@ -1278,7 +1275,6 @@ set_radix (char *arg, int from_tty) /* Show both the input and output radices. */ -/*ARGSUSED */ static void show_radix (char *arg, int from_tty) { @@ -1300,7 +1296,6 @@ show_radix (char *arg, int from_tty) } -/*ARGSUSED */ static void set_print (char *arg, int from_tty) { @@ -1309,7 +1304,6 @@ set_print (char *arg, int from_tty) help_list (setprintlist, "set print ", -1, gdb_stdout); } -/*ARGSUSED */ static void show_print (char *args, int from_tty) { diff --git a/gdb/values.c b/gdb/values.c index c0027cb..52f70a1 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -1216,7 +1216,6 @@ value_from_double (struct type *type, DOUBLEST num) 0 when it is using the value returning conventions (this often means returning pointer to where structure is vs. returning value). */ -/* ARGSUSED */ struct value * value_being_returned (struct type *valtype, struct regcache *retbuf, int struct_return) diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 0fed828..c3f350a 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -1623,7 +1623,6 @@ child_files_info (struct target_ops *ignore) attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid)); } -/* ARGSUSED */ static void child_open (char *arg, int from_tty) { diff --git a/gdb/wince.c b/gdb/wince.c index 41541dc..fc07e4f 100644 --- a/gdb/wince.c +++ b/gdb/wince.c @@ -1527,7 +1527,6 @@ child_files_info (struct target_ops *ignore) target_pid_to_str (inferior_ptid)); } -/* ARGSUSED */ static void child_open (char *arg, int from_tty) { diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 0fed828..c3f350a 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1623,7 +1623,6 @@ child_files_info (struct target_ops *ignore) attach_flag ? "attached" : "child", target_pid_to_str (inferior_ptid)); } -/* ARGSUSED */ static void child_open (char *arg, int from_tty) { |