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
commit2a9532b9bb2959ebb9d7c7772636eb9e45e81e8e (patch)
tree785a1cd7591b00140400cb44311509f85f449d97 /gdb/corefile.c
parentfbb38cc2f8bfd386c918d62fb81b2a25079c2801 (diff)
downloadgdb-2a9532b9bb2959ebb9d7c7772636eb9e45e81e8e.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"));