diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 19:42:01 +0000 |
commit | b3f4233622f79fed7c4b9087734d97903770e9c9 (patch) | |
tree | 0a52830653b1b22b6a388ad58c9217eacbda4d89 /gdb/m32r-rom.c | |
parent | 3b64bf9877bc5cfacd10117a1a0656c464545995 (diff) | |
download | gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.zip gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.gz gdb-b3f4233622f79fed7c4b9087734d97903770e9c9.tar.bz2 |
2004-07-28 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd): Delete function.
(add_setshow_cmd_full): Make static.
* command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
(add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
* cli/cli-decode.c (add_setshow_filename_cmd)
(add_setshow_string_cmd): New functions.
* nto-tdep.c (_initialize_nto_tdep): Update. Fix parameters.
* mips-tdep.c (_initialize_mips_tdep): Update.
* m32r-rom.c (_initialize_m32r_rom): Update. Update copyright.
* cli/cli-logging.c (_initialize_cli_logging): Update.
* complaints.c (_initialize_complaints): Update.
* remote.c (_initialize_remote): Update.
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r-- | gdb/m32r-rom.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c index c60f021..403d753 100644 --- a/gdb/m32r-rom.c +++ b/gdb/m32r-rom.c @@ -558,24 +558,21 @@ Specify the serial device it is connected to (e.g. /dev/ttya)."; mon2000_ops.to_open = mon2000_open; add_target (&mon2000_ops); - add_setshow_cmd ("download-path", class_obscure, - var_string, &download_path, "\ + 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.", NULL, NULL, &setlist, &showlist); - add_setshow_cmd ("board-address", class_obscure, - var_string, &board_addr, "\ + 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", NULL, NULL, &setlist, &showlist); - add_setshow_cmd ("server-address", class_obscure, - var_string, &server_addr, "\ + 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).", "\ |