[RFA] Fix "show convenience" test

Sérgio Durigan Júnior sergiodj@linux.vnet.ibm.com
Wed Sep 16 00:32:00 GMT 2009


Hi guys,

This is a simple one.  After running GDB's testsuite, I saw that one of the 
gdb.base/default.exp's tests was not passing.  It tested the output of the 
"show convenience" command.

After a little investigation, it seems that:

http://sourceware.org/ml/gdb-patches/2009-02/msg00165.html

Is the responsible for this, since this patch was creating an internal 
convenience variable ($_siginfo) which appears in the "show convenience" 
command, while the original test expects to receive a warning saying that no 
convenience variable is created at the moment.  If I understood the patch 
correctly, the $_siginfo will be always created and therefore the test should 
now expect "$_siginfo = void" instead of this warning.  Am I missing 
something?

Regards,

-- 
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil

gdb/testsuite/ChangeLog:

2009-09-15  Sergio Durigan Junior <sergiosdj@gmail.com>

	* gdb.base/default.exp: Updated the "show convenience" test
	in order to accept the new output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-convenience.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090916/35ec2dee/attachment.bin>


More information about the Gdb-patches mailing list