summaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-10 17:32:53 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-10 17:32:53 +0000
commit4b31ea925798a148e40b020a68e9fa352453cc71 (patch)
tree550fe68b1e77d56f859fb78489841ed522db32c1 /gdb/arm-tdep.c
parent9fb29a5177ffabc2d4345e41f26a785ef2dc7f74 (diff)
downloadgdb-4b31ea925798a148e40b020a68e9fa352453cc71.tar.gz
2005-02-10 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full) (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): Replace print string parameter with fprint_setshow function. * command.h (fprint_setshow_ftype): Define. Update declarations. * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is available, use that. * cli/cli-decode.h (struct cmd_list_element): Add field fprint_setshow. * complaints.c (fprint_setshow_complaints): New function. (_initialize_complaints): Pass to add_setshow_zinteger_cmd. * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter with NULL. * mips-tdep.c (_initialize_mips_tdep): Ditto. * m32r-rom.c (_initialize_m32r_rom): Ditto. * cris-tdep.c (_initialize_cris_tdep): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * remote-rdi.c (_initialize_remote_rdi): Ditto. * alpha-tdep.c (_initialize_alpha_tdep): Ditto. * dwarf2read.c (_initialize_dwarf2_read): Ditto. * frame.c (_initialize_frame): Ditto. * target.c (initialize_targets): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * observer.c (_initialize_observer): Ditto. * infcall.c (_initialize_infcall): Ditto. * breakpoint.c (_initialize_breakpoint): Ditto. * cli/cli-logging.c (_initialize_cli_logging): Ditto. * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 0d12630947f..8352bf330bf 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -2884,7 +2884,7 @@ _initialize_arm_tdep (void)
_("Set the disassembly style."),
_("Show the disassembly style."),
helptext,
- _("The disassembly style is \"%s\"."),
+ NULL, /* PRINT: The disassembly style is \"%s\". */
set_disassembly_style_sfunc, NULL,
&setarmcmdlist, &showarmcmdlist);
@@ -2892,7 +2892,7 @@ _initialize_arm_tdep (void)
_("Set usage of ARM 32-bit mode."),
_("Show usage of ARM 32-bit mode."),
_("When off, a 26-bit PC will be used."),
- _("Usage of ARM 32-bit mode is %s."),
+ NULL, /* PRINT: "Usage of ARM 32-bit mode is %s. */
NULL, NULL,
&setarmcmdlist, &showarmcmdlist);
@@ -2905,7 +2905,7 @@ softfpa - Software FP, mixed-endian doubles on little-endian ARMs.\n\
fpa - FPA co-processor (GCC compiled).\n\
softvfp - Software FP with pure-endian doubles.\n\
vfp - VFP co-processor."),
- _("The floating point type is \"%s\"."),
+ NULL, /* PRINT: "The floating point type is \"%s\". */
set_fp_model_sfunc, show_fp_model,
&setarmcmdlist, &showarmcmdlist);
@@ -2914,7 +2914,7 @@ vfp - VFP co-processor."),
_("Set ARM debugging."),
_("Show ARM debugging."),
_("When on, arm-specific debugging is enabled."),
- _("ARM debugging is %s."),
+ NULL, /* PRINT: "ARM debugging is %s. */
NULL, NULL,
&setdebuglist, &showdebuglist);
}