mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Make "set/show cris-version" a zuinteger instead of uinteger.
Being a uinteger means you revert back to having GDB decide the version. It makes no sense to have an "unlimited" version. (gdb) show cris-version The current CRIS version is 0. (gdb) set cris-version 0 (gdb) show cris-version The current CRIS version is unlimited. (gdb) gdb/ 2013-03-26 Pedro Alves <palves@redhat.com> * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version" command zuinteger instead of uinteger.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-03-26 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version"
|
||||||
|
command zuinteger instead of uinteger.
|
||||||
|
|
||||||
2013-03-26 Pedro Alves <palves@redhat.com>
|
2013-03-26 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* coff-pe-read.c (_initialize_coff_pe_read): Make the command
|
* coff-pe-read.c (_initialize_coff_pe_read): Make the command
|
||||||
|
@ -3914,7 +3914,7 @@ _initialize_cris_tdep (void)
|
|||||||
gdbarch_register (bfd_arch_cris, cris_gdbarch_init, cris_dump_tdep);
|
gdbarch_register (bfd_arch_cris, cris_gdbarch_init, cris_dump_tdep);
|
||||||
|
|
||||||
/* CRIS-specific user-commands. */
|
/* CRIS-specific user-commands. */
|
||||||
add_setshow_uinteger_cmd ("cris-version", class_support,
|
add_setshow_zuinteger_cmd ("cris-version", class_support,
|
||||||
&usr_cmd_cris_version,
|
&usr_cmd_cris_version,
|
||||||
_("Set the current CRIS version."),
|
_("Set the current CRIS version."),
|
||||||
_("Show the current CRIS version."),
|
_("Show the current CRIS version."),
|
||||||
|
Reference in New Issue
Block a user