summaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 19:42:01 +0000
commit21c206de3c74f451b3b76a865f6ae8215886aecf (patch)
treec2923a543ae773d96ac8043fc051099d30f7a69f /gdb/m32r-rom.c
parentbbd943b1d5f59b80a874de2c818c7660d6782fe6 (diff)
downloadgdb-21c206de3c74f451b3b76a865f6ae8215886aecf.tar.gz
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.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index c60f021b2b0..403d7535a44 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).", "\