This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI failures related to string printing


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]