diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-10 17:32:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-10 17:32:53 +0000 |
commit | 335cca0d6ecc363f7fd22244823deb8e2a657088 (patch) | |
tree | 1968b155ea79f7fc0a41be3f793b55df982a42fa /gdb/mips-tdep.c | |
parent | 899506a887012d40285dfbadfe6991442d1aead9 (diff) | |
download | binutils-335cca0d6ecc363f7fd22244823deb8e2a657088.zip binutils-335cca0d6ecc363f7fd22244823deb8e2a657088.tar.gz binutils-335cca0d6ecc363f7fd22244823deb8e2a657088.tar.bz2 |
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/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 48a22b5..a2f5eb6 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -5187,8 +5187,8 @@ This option can be set to one of:\n\ 64 - Force GDB to treat saved GP registers as 64-bit\n\ auto - Allow GDB to use the target's default setting or autodetect the\n\ saved GP register size from information contained in the executable.\n\ - (default: auto)", "\ -Size of general purpose registers saved on the stack is %s.\n", + (default: auto)", + NULL, /* PRINT: Size of general purpose registers saved on the stack is %s. */ NULL, NULL, &setmipscmdlist, &showmipscmdlist); /* Allow the user to override the argument stack size. */ @@ -5200,8 +5200,8 @@ This option can be set to one of:\n\ 32 - Force GDB to allocate 32-bit chunks per argument\n\ 64 - Force GDB to allocate 64-bit chunks per argument\n\ auto - Allow GDB to determine the correct setting from the current\n\ - target and executable (default)", "\ -The amount of stack space reserved for each argument is %s.\n", + target and executable (default)", + NULL, /* PRINT: The amount of stack space reserved for each argument is %s. */ NULL, NULL, &setmipscmdlist, &showmipscmdlist); /* Allow the user to override the ABI. */ @@ -5252,8 +5252,8 @@ Set the distance searched for the start of a function.\n", "\ Show the distance searched for the start of a function.\n", "\ If you are debugging a stripped executable, GDB needs to search through the\n\ program for the start of a function. This command sets the distance of the\n\ -search. The only need to set it is when debugging a stripped executable.", "\ -The distance searched for the start of a function is %s.\n", +search. The only need to set it is when debugging a stripped executable.", + NULL, /* PRINT: The distance searched for the start of a function is %s. */ reinit_frame_cache_sfunc, NULL, &setlist, &showlist); @@ -5263,8 +5263,8 @@ The distance searched for the start of a function is %s.\n", Set zeroing of upper 32 bits of 64-bit addresses.", "\ Show zeroing of upper 32 bits of 64-bit addresses.", "\ Use \"on\" to enable the masking, \"off\" to disable it and \"auto\" to \n\ -allow GDB to determine the correct value.\n", "\ -Zerroing of upper 32 bits of 64-bit address is %s.", +allow GDB to determine the correct value.\n", + NULL, /* PRINT: Zerroing of upper 32 bits of 64-bit address is %s. */ NULL, show_mask_address, &setmipscmdlist, &showmipscmdlist); /* Allow the user to control the size of 32 bit registers within the @@ -5275,8 +5275,8 @@ Set compatibility with 64-bit MIPS target that transfers 32-bit quantities.", "\ Show compatibility with 64-bit MIPS target that transfers 32-bit quantities.", "\ Use \"on\" to enable backward compatibility with older MIPS 64 GDB+target\n\ that would transfer 32 bits for some registers (e.g. SR, FSR) and\n\ -64 bits for others. Use \"off\" to disable compatibility mode", "\ -Compatibility with 64-bit MIPS target that transfers 32-bit quantities is %s.", +64 bits for others. Use \"off\" to disable compatibility mode", + NULL, /* PRINT: Compatibility with 64-bit MIPS target that transfers 32-bit quantities is %s. */ set_mips64_transfers_32bit_regs, NULL, &setlist, &showlist); /* Debug this files internals. */ @@ -5284,8 +5284,8 @@ Compatibility with 64-bit MIPS target that transfers 32-bit quantities is %s.", &mips_debug, "\ Set mips debugging.\n", "\ Show mips debugging.\n", "\ -When non-zero, mips specific debugging is enabled.\n", "\ -Mips debugging is currently %s.\n", +When non-zero, mips specific debugging is enabled.\n", + NULL, /* PRINT: Mips debugging is currently %s. */ NULL, NULL, &setdebuglist, &showdebuglist); } |