From: David Carlton <carlton@math.stanford.edu>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA/TESTSUITE] annota1.exp fixes
Date: Wed, 09 Apr 2003 17:44:00 -0000 [thread overview]
Message-ID: <ro1wui3h8h2.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <16019.21217.67067.495012@localhost.redhat.com>
On Tue, 8 Apr 2003 18:53:21 -0400, Elena Zannoni <ezannoni@redhat.com> said:
> The test was too eager in matching the whole path to the source file.
> What's really happening is that it wouldn't match a '+' in the
> directory name. (In RedHat gdb the source directory is named the same
> as the sourceware snapshots i.e. gdb+dejagnu, which now I know not to
> do again).
For what it's worth, I had another problem with those regexps a while
ago: I'm getting output that included subdir but not srcdir.
(Presumably I'm the only one seeing this because I actually build in
the source directory.) I submitted a patch to allow that; Fernando's
response was that he didn't know if that was allowable output, so we
should check with annotation users to make sure. And nobody ever did
that.
Your regexps accept the output that I'm seeing. So if we're really
nervous about not wanting to accept my output, then probably your
patches aren't a great idea, and we should instead modify them to
create new variables srcdir-regexp and subdir-regexp (or whatever)
that are regexp-protected, and use them. On the other hand, I'm
inclined to go with your patches: the regexps already accept it if
both srcdir and subdir are missing, so could it really be any worse if
just srcdir is missing?
By the way, my original message was in a thread titled
"[rfa/testsuite] make annota1 regexps more generous"; see also a
threat titled "[RFA] annota1.exp: Don't require complete pathname in
info break test".
David Carlton
carlton@math.stanford.edu
next prev parent reply other threads:[~2003-04-09 17:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 22:49 Elena Zannoni
2003-04-09 17:44 ` David Carlton [this message]
2003-04-10 17:30 ` Elena Zannoni
2003-04-10 20:34 ` David Carlton
2003-07-07 15:37 ` Elena Zannoni
2003-07-09 13:21 ` Elena Zannoni
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=ro1wui3h8h2.fsf@jackfruit.Stanford.EDU \
--to=carlton@math.stanford.edu \
--cc=ezannoni@redhat.com \
--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