summaryrefslogtreecommitdiff
path: root/gdb/corefile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-17 15:00:36 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-17 15:00:36 +0000
commit26c41df326291cfe8211f195291a26b370de9523 (patch)
tree32bbe44e4881e36b2f70e54124afdc0e8cd03313 /gdb/corefile.c
parent2c5b56ce999bb9327c42afc09ad015e850298573 (diff)
downloadbinutils-gdb-26c41df326291cfe8211f195291a26b370de9523.tar.gz
2005-02-17 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) (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): Delete fprint_setshow parameter. * command.h (fprint_setshow_ftype): Delete. (add_setshow_cmd_full, add_setshow_enum_cmd) (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): Delete fprint_setshow parameter. * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update * remote.c, target.c, cli/cli-logging.c: Update.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r--gdb/corefile.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 2f4fccc5eac..570f34075d8 100644
--- a/gdb/corefile.c
+++ b/gdb/corefile.c
@@ -448,13 +448,15 @@ No arg means have no core file. This command has been superseded by the\n\
`target core' and `detach' commands."), &cmdlist);
set_cmd_completer (c, filename_completer);
- c = add_set_cmd ("gnutarget", class_files, var_string_noescape,
- (char *) &gnutarget_string,
- "Set the current BFD target.\n\
-Use `set gnutarget auto' to specify automatic detection.",
- &setlist);
- set_cmd_sfunc (c, set_gnutarget_command);
- deprecated_add_show_from_set (c, &showlist);
+
+ add_setshow_string_noescape_cmd ("gnutarget", class_files,
+ &gnutarget_string, _("(\
+Set the current BFD target."), _("\
+Show the current BFD target."), _("\
+Use `set gnutarget auto' to specify automatic detection."),
+ set_gnutarget_command,
+ NULL, /* FIXME: i18n: */
+ &setlist, &showlist);
if (getenv ("GNUTARGET"))
set_gnutarget (getenv ("GNUTARGET"));