From 335cca0d6ecc363f7fd22244823deb8e2a657088 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 10 Feb 2005 17:32:53 +0000 Subject: 2005-02-10 Andrew Cagney * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full) (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) (add_setshow_filename_cmd, add_setshow_string_cmd) (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace print string parameter with fprint_setshow function. * command.h (fprint_setshow_ftype): Define. Update declarations. * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is available, use that. * cli/cli-decode.h (struct cmd_list_element): Add field fprint_setshow. * complaints.c (fprint_setshow_complaints): New function. (_initialize_complaints): Pass to add_setshow_zinteger_cmd. * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter with NULL. * mips-tdep.c (_initialize_mips_tdep): Ditto. * m32r-rom.c (_initialize_m32r_rom): Ditto. * cris-tdep.c (_initialize_cris_tdep): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * remote-rdi.c (_initialize_remote_rdi): Ditto. * alpha-tdep.c (_initialize_alpha_tdep): Ditto. * dwarf2read.c (_initialize_dwarf2_read): Ditto. * frame.c (_initialize_frame): Ditto. * target.c (initialize_targets): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * observer.c (_initialize_observer): Ditto. * infcall.c (_initialize_infcall): Ditto. * breakpoint.c (_initialize_breakpoint): Ditto. * cli/cli-logging.c (_initialize_cli_logging): Ditto. * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. --- gdb/m32r-rom.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/m32r-rom.c') diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c index 3361c3c..2372e5d 100644 --- a/gdb/m32r-rom.c +++ b/gdb/m32r-rom.c @@ -562,22 +562,22 @@ Specify the serial device it is connected to (e.g. /dev/ttya)."; add_setshow_string_cmd ("download-path", class_obscure, &download_path, "\ Set the default path for downloadable SREC files.", "\ Show the default path for downloadable SREC files.", "\ -Determines the default path for downloadable SREC files.", "\ -The default path for downloadable SREC files is %s.", +Determines the default path for downloadable SREC files.", + NULL, /* PRINT: The default path for downloadable SREC files is %s. */ NULL, NULL, &setlist, &showlist); add_setshow_string_cmd ("board-address", class_obscure, &board_addr, "\ Set IP address for M32R-EVA target board.", "\ Show IP address for M32R-EVA target board.", "\ -Determine the IP address for M32R-EVA target board.", "\ -IP address for M32R-EVA target board is %s", +Determine the IP address for M32R-EVA target board.", + NULL, /* PRINT: IP address for M32R-EVA target board is %s. */ NULL, NULL, &setlist, &showlist); add_setshow_string_cmd ("server-address", class_obscure, &server_addr, "\ Set IP address for download server (GDB's host computer).", "\ Show IP address for download server (GDB's host computer).", "\ -Determine the IP address for download server (GDB's host computer).", "\ -IP address for download server (GDB's host computer) is %s.", +Determine the IP address for download server (GDB's host computer).", + NULL, /* PRINT: IP address for download server (GDB's host computer) is %s. */ NULL, NULL, &setlist, &showlist); add_com ("upload", class_obscure, m32r_upload_command, -- cgit v1.1