mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user