This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PR 7536 - ``set input-radix 1'' changes radix
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Dec 2008 12:11:17 -0700
- Subject: Re: PR 7536 - ``set input-radix 1'' changes radix
- References: <200812290221.14557.pedro@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> PR 7536 is about the fact that GDB lets the user set the input
Pedro> radix to 0 or 1, although claims it doesn't:
Pedro> Checked in, after making sure there were no regressions
Pedro> on x86_64-linux.
Thanks.
I also looked at this bug a little, and I was wondering whether we
should fix this generically, for all parameters, by saving the
parameter's value and then restoring it if the setter function raises
an error. What do you think of that?
Tom