2009-01-23 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 23 Jan 2009 18:47:46 +0000 (18:47 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 23 Jan 2009 18:47:46 +0000 (18:47 +0000)
commit1e8fb9762b0d2c468915815f73d2fadb44543be1
treee06f47a274d8a332ed81aec3d10e2653b8b9aa7b
parent278df34e1203e781f97b32320094e1831f5f9624
2009-01-23  Pedro Alves  <pedro@codesourcery.com>

* cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
* cli/cli-setshow.c (do_setshow_command): Handle it.
* command.h (enum var_types): Add var_zuinteger.
(add_setshow_zuinteger_cmd): Declare.

* valprint.c (_initialize_valprint): Change the set input-radix
and set output-radix commands to zuinteger type.

2009-01-23  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/radix.exp: Add tests to ensure that that set
input-radix 0 and set output-radix 0 are really rejected.
gdb/ChangeLog
gdb/cli/cli-decode.c
gdb/cli/cli-setshow.c
gdb/command.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/radix.exp
gdb/valprint.c