[commit/ARI] gdb_ari.sh: Remove entries for dirent.h and stat.h.

Joel Brobecker brobecker@adacore.com
Tue Nov 19 03:05:00 GMT 2013


Hi Pierre,

The corresponding gdb_dirent.h and gdb_stat.h no longer exist.
We rely on gnulib for those, now.

gdb/ChangeLog:

        * contrib/ari/gdb_ari.sh: Remove checks for "dirent.h" and
        "stat.h".

I pushed this patch as obvious, and also because we don't want these
checks running again tonight. It's easy to adjust, so let me know
if anything else needs to be done.

Thank you,
-- 
Joel

---
 gdb/ChangeLog              |  5 +++++
 gdb/contrib/ari/gdb_ari.sh | 18 ------------------
 2 files changed, 5 insertions(+), 18 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a1d0a3c..b28d1ae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+	* contrib/ari/gdb_ari.sh: Remove checks for "dirent.h" and
+	"stat.h".
+
 2013-11-18  Tom Tromey  <tromey@redhat.com>
 
 	* common/gdb_stat.h: Remove.
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index ad30c9c..d05b19c 100644
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -306,14 +306,6 @@ Do not include assert.h, instead include \"gdb_assert.h\"";
     fail("assert.h")
 }
 
-BEGIN { doc["dirent.h"] = "\
-Do not include dirent.h, instead include gdb_dirent.h"
-    category["dirent.h"] = ari_regression
-}
-/^#[[:space:]]*include[[:space:]]*.dirent\.h./ {
-    fail("dirent.h")
-}
-
 BEGIN { doc["regex.h"] = "\
 Do not include regex.h, instead include gdb_regex.h"
     category["regex.h"] = ari_regression
@@ -340,16 +332,6 @@ Do not include gnu-regex.h, instead include gdb_regex.h"
     fail("gnu regex.h")
 }
 
-BEGIN { doc["stat.h"] = "\
-Do not include stat.h or sys/stat.h, instead include gdb_stat.h"
-    category["stat.h"] = ari_regression
-    fix("stat.h", "common/gdb_stat.h", 1)
-}
-/^#[[:space:]]*include[[:space:]]*.stat\.h./ \
-|| /^#[[:space:]]*include[[:space:]]*.sys\/stat\.h./ {
-    fail("stat.h")
-}
-
 BEGIN { doc["wait.h"] = "\
 Do not include wait.h or sys/wait.h, instead include gdb_wait.h"
     fix("wait.h", "common/gdb_wait.h", 2);
-- 
1.8.1.2



More information about the Gdb-patches mailing list