diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-21 04:31:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-21 04:31:59 +0000 |
commit | 7ab044018aac127cb2867aadf8faa4a3a2e46142 (patch) | |
tree | 9bed9e14cf7de9e50d165b8178bafbedc47120b4 /gdb/mips-tdep.c | |
parent | 78f5381d69fee5c3fc74a2358267b425190cad54 (diff) | |
download | gdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.zip gdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.tar.gz gdb-7ab044018aac127cb2867aadf8faa4a3a2e46142.tar.bz2 |
2005-02-20 Andrew Cagney <cagney@gnu.org>
Use add_setshow_enum_cmd through out.
* arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
* infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index a98c231..c109ed2 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -5210,16 +5210,21 @@ This option can be set to one of:\n\ &setmipscmdlist, &showmipscmdlist); /* Allow the user to override the ABI. */ - c = add_set_enum_cmd - ("abi", class_obscure, mips_abi_strings, &mips_abi_string, - "Set the ABI used by this program.\n" - "This option can be set to one of:\n" - " auto - the default ABI associated with the current binary\n" - " o32\n" - " o64\n" " n32\n" " n64\n" " eabi32\n" " eabi64", &setmipscmdlist); - set_cmd_sfunc (c, mips_abi_update); - add_cmd ("abi", class_obscure, show_mips_abi, - _("Show ABI in use by MIPS target"), &showmipscmdlist); + add_setshow_enum_cmd ("abi", class_obscure, mips_abi_strings, + &mips_abi_string, _("\ +Set the MIPS ABI used by this program."), _("\ +Show the MIPS ABI used by this program."), _("\ +This option can be set to one of:\n\ + auto - the default ABI associated with the current binary\n\ + o32\n\ + o64\n\ + n32\n\ + n64\n\ + eabi32\n\ + eabi64"), + mips_abi_update, + show_mips_abi, + &setmipscmdlist, &showmipscmdlist); /* Let the user turn off floating point and set the fence post for heuristic_proc_start. */ |