Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sources.redhat.com
Subject: Re: MI testsuite mi-until.exp failures
Date: Tue, 30 Aug 2005 12:50:00 -0000	[thread overview]
Message-ID: <20050830025534.GB16646@nevyn.them.org> (raw)
In-Reply-To: <20050817031718.GA13485@white>

On Tue, Aug 16, 2005 at 11:17:18PM -0400, Bob Rossi wrote:
> Hi,
> 
> Using gcc 4.0, I get error's with the mi-until.exp and mi2-until.exp
> testcases. The first issue is trivial.
> 
> The file mi-var-child.c needed '#include <string.h>' in order for the
> file to compile because of memset. Is string.h appropriate for this? I
> know memset can be in different headers on different systems.

<string.h> is fine.  I do these things mostly by example: for instance
call-ar-st.c already includes it unconditionally so it must be OK for
the testsuite, on targets anyone's cared about lately.

This bit is OK, feel free to commit it on its own.

> Also, for some reason, the line number was different. So, either it's OK
> for the line number to be different and this patch is OK, or it's not OK
> for the line number to be different and this patch is bad. Any ideas?

Well that doesn't tell me much, and I hate decoding regexps to figure
this stuff out.  What's the command?  Where's it stopping?  Where's it
supposed to stop?  Does the behavior seem reasonable to you?

I seem to recall that this sparked some contention about the correct
behavior of "until", which we discussed on gdb@ some months ago.  That
may have been a different bug, though.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


      reply	other threads:[~2005-08-30  2:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 15:09 Bob Rossi
2005-08-30 12:50 ` Daniel Jacobowitz [this message]

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=20050830025534.GB16646@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    /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