Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Daniel Jacobowitz'" <drow@false.org>,
	"'Tom Tromey'" <tromey@redhat.com>,
	        "'Joel Brobecker'" <brobecker@adacore.com>
Cc: <gdb-patches@sourceware.org>
Subject: RE: [RFC] Change OK: to ARI: for ARI rule ignore
Date: Fri, 01 May 2009 08:18:00 -0000	[thread overview]
Message-ID: <013301c9ca35$482bd780$d8838680$@u-strasbg.fr> (raw)
In-Reply-To: <007501c9c533$d0a9c240$71fd46c0$@u-strasbg.fr>

Sorry about this, Daniel.

  It is just that I do have the bad habit of
thinking of '-p' and '-u' options together, and
'-p' isn't very useful when it's not C code...

Here is that unified diff.

Is this OK for everyone?


Pierre Muller
Pascal language support maintainer for GDB






$ cvs diff -u gdb_ari.sh
Index: gdb_ari.sh
===================================================================
RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v
retrieving revision 1.89
diff -u -r1.89 gdb_ari.sh
--- gdb_ari.sh  20 Apr 2009 15:55:23 -0000      1.89
+++ gdb_ari.sh  1 May 2009 08:13:59 -0000
@@ -147,6 +147,9 @@
        exit
     }

+    if (ARI_OK == bug) {
+       return
+    }
     # Trim the filename down to just DIRECTORY/FILE so that it can be
     # robustly used by the FIX code.

@@ -205,8 +208,21 @@
 # Skip OBSOLETE lines
 /(^|[^_[:alnum:]])OBSOLETE([^_[:alnum:]]|$)/ { next; }

-# Skip OK lines
-/\/\* OK \*\// || /\/\* OK: / || /\/\* ARI: / { next; }
+# Skip ARI lines
+
+BEGIN {
+    ARI_OK = ""
+}
+
+/\/\* ARI:[[:space:]]*(.*)[[:space:]]*\*\// {
+    ARI_OK = gensub(/^.*\/\*
ARI:[[:space:]]*(.*[^[:space:]])[[:space:]]*\*\/.*$/, "\\1", 1, $0)
+    # print "ARI line found \"" $0 "\""
+    # print "ARI_OK \"" ARI_OK "\""
+}
+! /\/\* ARI:[[:space:]]*(.*)[[:space:]]*\*\// {
+    ARI_OK = ""
+}
+

 # Things in comments



  parent reply	other threads:[~2009-05-01  8:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 22:27 Pierre Muller
2009-04-22 23:44 ` Tom Tromey
2009-04-23  6:51   ` Pierre Muller
2009-04-23 18:19     ` Tom Tromey
2009-04-24 23:26       ` Pierre Muller
2009-04-28 13:09         ` Daniel Jacobowitz
2009-05-01  8:18         ` Pierre Muller [this message]
2009-05-06 16:15           ` Joel Brobecker
2009-05-06 16:26             ` Pierre Muller
2009-04-23 16:42   ` Joel Brobecker

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='013301c9ca35$482bd780$d8838680$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=brobecker@adacore.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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