MI failures related to string printing

Mark Kettenis mark.kettenis@xs4all.nl
Tue Jan 16 21:23:00 GMT 2007


> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Tue, 16 Jan 2007 18:50:29 +1300
> 
>  > Is there any chance you'll robustify the testsuite?
> 

> If your just talking about the one FAIL in mi-var-child.exp, why not
> just mark it as an XFAIL?  I see that the other XFAIL actually
> passes (for me, at least).

The very fact that we're even having this discussion means that you
did something wrong Nick; you either didn't check for regressions or
ignored them.

Turning a regression test from a PASS into a FAIL, means you've
changed behaviour.  Now that change could be intentional, but then you
should have said so when you submitted the patch, and you should have
adjusted the test.

I'm still not convinced the change is ok.  Having 'char *' point to a
buffer that's not null-terminated is not uncommon.  We have a lot of
those in gdb itself.

Mark



More information about the Gdb-patches mailing list