Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: ghost@cs.msu.su, gdb-patches@sources.redhat.com
Subject: Re: MI failures related to string printing
Date: Tue, 16 Jan 2007 22:16:00 -0000	[thread overview]
Message-ID: <17837.18315.809868.354650@kahikatea.snap.net.nz> (raw)
In-Reply-To: <200701162123.l0GLN5kF029500@brahms.sibelius.xs4all.nl>

 > > 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.

Neither, it doesn't fail for me.  Presumably this has something to do with
the compiler/OS and where the variable values are stored.

 > 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.

The nature of the patch was discussed at length and if there was no change in
behaviour then the patch would be pointless.  If the test had failed for me, I
would have tried to adjust it.  When is it appropriate to use an XFAIL, if
not here?

 > 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.

There's still time to revert it but I think we should identify a real situation
i.e when GDB is used with a frontend, where it causes a problem first.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2007-01-16 22:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200701121351.29310.vladimir@codesourcery.com>
     [not found] ` <17831.31430.442855.801431@kahikatea.snap.net.nz>
2007-01-16  2:08   ` Vladimir Prus
2007-01-16  5:50     ` Nick Roberts
2007-01-16  6:42       ` Vladimir Prus
2007-01-16 20:44         ` Nick Roberts
2007-01-16 23:06           ` Vladimir Prus
2007-01-17  0:59             ` Nick Roberts
2007-01-17  6:01               ` Daniel Jacobowitz
2007-01-17  8:12                 ` Nick Roberts
2007-01-16 21:23       ` Mark Kettenis
2007-01-16 22:16         ` Nick Roberts [this message]
2007-01-17  6:06           ` Daniel Jacobowitz
2007-01-17 21:44             ` Mark Kettenis
2007-01-17 22:19               ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17837.18315.809868.354650@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=gdb-patches@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox