This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/7536] ``set input-radix 1'' changes radix
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 29 Dec 2008 02:18:59 -0000
- Subject: [Bug cli/7536] ``set input-radix 1'' changes radix
- References: <20020317074800.7536.ac131313@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2008-12-29 02:18 -------
Subject: Bug 7536
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2008-12-29 02:18:48
Modified files:
gdb : ChangeLog valprint.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: radix.exp
Log message:
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* valprint.c (input_radix_1): New static global.
(set_input_radix): Use it instead of "input_radix".
(set_input_radix_1): Always leave input_radix_1 set to
input_radix.
(output_radix_1): New static global.
(set_output_radix): Use it instead of "output_radix".
(set_output_radix_1): Always leave output_radix_1 set to
output_radix.
(_initialize_valprint): Use "input_radix_1" instead of
"input_radix" with the "input-radix" command. Use
"output_radix_1" instead of "output_radix" with the "output-radix"
command.
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* gdb.base/radix.exp: Add tests to ensure invalid input radices
and unsupported output radices are really rejected.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10054&r2=1.10055
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valprint.c.diff?cvsroot=src&r1=1.75&r2=1.76
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1780&r2=1.1781
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/radix.exp.diff?cvsroot=src&r1=1.6&r2=1.7
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7536
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.