[rfa] C++ testsuite fix for unsigned char

Michael Elizabeth Chastain mec.gnu@mindspring.com
Sat Feb 28 23:15:00 GMT 2004


Approved, provided that you've tested it at least once.

> By the way, this test would be invalid C since it relies on the behavior of
> signed overflow.  I'm not sure about C++ but I suspect it's the same.

You are right.  It would be okay with me to change all the 'c' from
'char' to 'unsigned char'.  It's about templates, not about whether
chars are 'signed' or 'unsigned'.

Michael C

===

2004-02-28  Daniel Jacobowitz  <drow@mvista.com>

	* gdb.cp/ctti.exp: Handle unsigned char type.



More information about the Gdb-patches mailing list