diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-07-28 17:26:27 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-07-28 17:26:27 +0000 |
commit | 3b64bf9877bc5cfacd10117a1a0656c464545995 (patch) | |
tree | 8083bfb73b0053da51316ca45794ef24073e0671 /gdb/arm-tdep.c | |
parent | 54a5b07d668e9320efb1ada27582f859ccfaaaf3 (diff) | |
download | gdb-3b64bf9877bc5cfacd10117a1a0656c464545995.zip gdb-3b64bf9877bc5cfacd10117a1a0656c464545995.tar.gz gdb-3b64bf9877bc5cfacd10117a1a0656c464545995.tar.bz2 |
2004-07-28 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_zinteger_cmd)
(add_setshow_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
print parameters. Make string parameters constant.
* command.h: Update. Update copyright.
* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
* observer.c (_initialize_observer): Ditto.
* frame.c (_initialize_frame): Ditto.
* complaints.c (_initialize_complaints): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* target.c (initialize_targets): Ditto.
* cli/cli-logging.c (_initialize_cli_logging): Ditto.
* infcall.c (_initialize_infcall): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* m32r-rom.c (_initialize_m32r_rom): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* d10v-tdep.c (_initialize_d10v_tdep): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index b44768c..a86e09a 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2942,19 +2942,22 @@ _initialize_arm_tdep (void) deprecated_add_show_from_set (new_set, &showarmcmdlist); add_setshow_cmd_full ("apcs32", no_class, - var_boolean, (char *) &arm_apcs_32, - "Set usage of ARM 32-bit mode.", - "Show usage of ARM 32-bit mode.", + var_boolean, (char *) &arm_apcs_32, "\ +Set usage of ARM 32-bit mode.", "\ +Show usage of ARM 32-bit mode.", "\ +Determine the usage of ARM 32-bit mode.", "\ +Usage of ARM 32-bit mode is %s.", NULL, NULL, &setlist, &showlist, &new_set, &new_show); deprecate_cmd (new_set, "set arm apcs32"); deprecate_cmd (new_show, "show arm apcs32"); - add_setshow_boolean_cmd ("apcs32", no_class, &arm_apcs_32, - "Set usage of ARM 32-bit mode. " - "When off, a 26-bit PC will be used.", - "Show usage of ARM 32-bit mode. " - "When off, a 26-bit PC will be used.", + add_setshow_boolean_cmd ("apcs32", no_class, &arm_apcs_32, "\ +Set usage of ARM 32-bit mode.", "\ +Show usage of ARM 32-bit mode.", "\ +When off, a 26-bit PC will be used.\n\ +When off, a 26-bit PC will be used.", "\ +Usage of ARM 32-bit mode is %s.", NULL, NULL, &setarmcmdlist, &showarmcmdlist); @@ -2978,11 +2981,11 @@ _initialize_arm_tdep (void) "set arm disassembly"); /* Debugging flag. */ - add_setshow_boolean_cmd ("arm", class_maintenance, &arm_debug, - "Set ARM debugging. " - "When on, arm-specific debugging is enabled.", - "Show ARM debugging. " - "When on, arm-specific debugging is enabled.", + add_setshow_boolean_cmd ("arm", class_maintenance, &arm_debug, "\ +Set ARM debugging.", "\ +Show ARM debugging.", "\ +When on, arm-specific debugging is enabled.", "\ +ARM debugging is %s.", NULL, NULL, &setdebuglist, &showdebuglist); } |