[rfa:testsuite} Overhaul sizeof.exp

Michael Elizabeth Chastain mec@shout.net
Tue Feb 19 20:43:00 GMT 2002


Hi Andrew,

> Unfortunatly it doesn't address the x86 problem.  Looking at 
> printcmd.c:print_scalar_formatted() the function behaves differently 
> when sizeof (host LONGEST) < sizeof (target type) (i.e. x86) :-(  I 
> think this a very long standing bug.
> 
> The problem I guess is what to do short term with this part of the test.

My opinion is that if a test finds a bug, it is a good test.  A really
great test causes the machine to reboot, catch on fire, and install
Windows XP from a Russian warez mirror.

Here is some policy from gcc:

  http://gcc.gnu.org/bugs.html#manage

I think this would be a good policy for gdb.  What do you think?

I will re-run my test bed on the new patch shortly.

Michael C



More information about the Gdb-patches mailing list