2004-07-28 Andrew Cagney <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_zinteger_cmd)
	(add_setshow_cmd, add_setshow_auto_boolean_cmd)
	(add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
	print parameters.  Make string parameters constant.
	* command.h: Update.  Update copyright.
	* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
	* observer.c (_initialize_observer): Ditto.
	* frame.c (_initialize_frame): Ditto.
	* complaints.c (_initialize_complaints): Ditto.
	* maint.c (_initialize_maint_cmds): Ditto.
	* target.c (initialize_targets): Ditto.
	* cli/cli-logging.c (_initialize_cli_logging): Ditto.
	* infcall.c (_initialize_infcall): Ditto.
	* arm-tdep.c (_initialize_arm_tdep): Ditto.
	* m32r-rom.c (_initialize_m32r_rom): Ditto.
	* remote-rdi.c (_initialize_remote_rdi): Ditto.
	* d10v-tdep.c (_initialize_d10v_tdep): Ditto.
	* mips-tdep.c (_initialize_mips_tdep): Ditto.
This commit is contained in:
Andrew Cagney
2004-07-28 17:26:27 +00:00
parent 54a5b07d66
commit 3b64bf9877
17 changed files with 219 additions and 163 deletions

View File

@ -1,7 +1,8 @@
/* Remote debugging interface to m32r and mon2000 ROM monitors for GDB,
the GNU debugger.
Copyright 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2004 Free Software
Foundation, Inc.
Adapted by Michael Snyder of Cygnus Support.
@ -558,21 +559,27 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
add_target (&mon2000_ops);
add_setshow_cmd ("download-path", class_obscure,
var_string, &download_path,
"Set the default path for downloadable SREC files.",
"Show the default path for downloadable SREC files.",
var_string, &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.",
NULL, NULL, &setlist, &showlist);
add_setshow_cmd ("board-address", class_obscure,
var_string, &board_addr,
"Set IP address for M32R-EVA target board.",
"Show IP address for M32R-EVA target board.",
var_string, &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",
NULL, NULL, &setlist, &showlist);
add_setshow_cmd ("server-address", class_obscure,
var_string, &server_addr,
"Set IP address for download server (GDB's host computer).",
"Show IP address for download server (GDB's host computer).",
var_string, &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.",
NULL, NULL, &setlist, &showlist);
add_com ("upload", class_obscure, m32r_upload_command,