diff options
-rw-r--r-- | bfd/version.h | 2 | ||||
-rw-r--r-- | contrib/dg-extract-results.py | 5 | ||||
-rwxr-xr-x | contrib/dg-extract-results.sh | 10 | ||||
-rw-r--r-- | gdb/bsd-kvm.c | 4 | ||||
-rw-r--r-- | gdb/testsuite/Makefile.in | 12 | ||||
-rw-r--r-- | gdb/unittests/scoped_mmap-selftests.c | 4 | ||||
-rw-r--r-- | sim/ppc/emul_netbsd.c | 6 |
7 files changed, 29 insertions, 14 deletions
diff --git a/bfd/version.h b/bfd/version.h index 32d5579..388439d 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -16,7 +16,7 @@ In releases, the date is not included in either version strings or sonames. */ -#define BFD_VERSION_DATE 20250705 +#define BFD_VERSION_DATE 20250706 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py index 0fe3c5f..c5bfbca 100644 --- a/contrib/dg-extract-results.py +++ b/contrib/dg-extract-results.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -# Copyright (C) 2014-2024 Free Software Foundation, Inc. +# Copyright (C) 2014-2025 Free Software Foundation, Inc. # # This script is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -146,7 +146,8 @@ class Prog: '# of unresolved testcases\t', '# of unsupported tests\t\t', '# of paths in test names\t', - '# of duplicate test names\t' + '# of duplicate test names\t', + '# of unexpected core files\t' ] self.runs = dict() diff --git a/contrib/dg-extract-results.sh b/contrib/dg-extract-results.sh index 539d596..d64ba25 100755 --- a/contrib/dg-extract-results.sh +++ b/contrib/dg-extract-results.sh @@ -6,7 +6,7 @@ # The resulting file can be used with test result comparison scripts for # results from tests that were run in parallel. See usage() below. -# Copyright (C) 2008-2024 Free Software Foundation, Inc. +# Copyright (C) 2008-2025 Free Software Foundation, Inc. # Contributed by Janis Johnson <janis187@us.ibm.com> # # This file is part of GCC. @@ -403,7 +403,7 @@ BEGIN { variant="$VAR" tool="$TOOL" passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kpasscnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0; - pathcnt=0; dupcnt=0 + pathcnt=0; dupcnt=0; corecnt=0 curvar=""; insummary=0 } /^Running target / { curvar = \$3; next } @@ -420,6 +420,7 @@ BEGIN { /^# of unsupported tests/ { if (insummary == 1) unsupcnt += \$5; next; } /^# of paths in test names/ { if (insummary == 1) pathcnt += \$7; next; } /^# of duplicate test names/ { if (insummary == 1) dupcnt += \$6; next; } +/^# of unexpected core files/ { if (insummary == 1) corecnt += \$6; next; } /^$/ { if (insummary == 1) { insummary = 0; curvar = "" } next @@ -439,6 +440,7 @@ END { if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt) if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt) if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt) + if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt) } EOF @@ -460,7 +462,7 @@ cat << EOF > $TOTAL_AWK BEGIN { tool="$TOOL" passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0 - pathcnt=0; dupcnt=0 + pathcnt=0; dupcnt=0; corecnt=0 } /^# of DejaGnu errors/ { dgerrorcnt += \$5 } /^# of expected passes/ { passcnt += \$5 } @@ -474,6 +476,7 @@ BEGIN { /^# of unsupported tests/ { unsupcnt += \$5 } /^# of paths in test names/ { pathcnt += \$7 } /^# of duplicate test names/ { dupcnt += \$6 } +/^# of unexpected core files/ { corecnt += \$6 } END { printf ("\n\t\t=== %s Summary ===\n\n", tool) if (dgerrorcnt != 0) printf ("# of DejaGnu errors\t\t%d\n", dgerrorcnt) @@ -488,6 +491,7 @@ END { if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt) if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt) if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt) + if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt) } EOF diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 5158fb6..baffa76 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -388,11 +388,11 @@ Generic command for manipulating the kernel memory interface."), #ifndef HAVE_STRUCT_THREAD_TD_PCB add_cmd ("proc", class_obscure, bsd_kvm_proc_cmd, - _("Set current context from proc address"), &bsd_kvm_cmdlist); + _("Set current context from proc address."), &bsd_kvm_cmdlist); #endif add_cmd ("pcb", class_obscure, bsd_kvm_pcb_cmd, /* i18n: PCB == "Process Control Block". */ - _("Set current context from pcb address"), &bsd_kvm_cmdlist); + _("Set current context from pcb address."), &bsd_kvm_cmdlist); /* Some notes on the ptid usage on this target. diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index 4a6665d..fa2d9eb 100644 --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -386,7 +386,17 @@ check-all-boards: all $(abs_builddir)/site.exp ${abs_srcdir}/make-check-all.sh --keep-results \ --host-user "$(GDB_HOST_USERNAME)" \ --target-user "$(GDB_TARGET_USERNAME)" \ - "$(TESTS)" + "$(TESTS)" \ + result=$$?; \ + if test -d check-all; then \ + $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \ + `find check-all -name gdb.sum -print` > check-all/gdb.sum; \ + $(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \ + `find check-all -name gdb.log -print` > check-all/gdb.log; \ + sed -n '/=== gdb Summary ===/,$$ p' check-all/gdb.sum; \ + fi; \ + exit $$result + force:; diff --git a/gdb/unittests/scoped_mmap-selftests.c b/gdb/unittests/scoped_mmap-selftests.c index 72568fe..f752b9a 100644 --- a/gdb/unittests/scoped_mmap-selftests.c +++ b/gdb/unittests/scoped_mmap-selftests.c @@ -41,7 +41,7 @@ test_destroy () errno = 0; { ::scoped_mmap smmap (nullptr, sysconf (_SC_PAGESIZE), PROT_WRITE, - MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); mem = smmap.get (); SELF_CHECK (mem != nullptr); @@ -59,7 +59,7 @@ test_release () errno = 0; { ::scoped_mmap smmap (nullptr, sysconf (_SC_PAGESIZE), PROT_WRITE, - MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); + MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); mem = smmap.release (); SELF_CHECK (mem != nullptr); diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c index 950f1f4..37e6c08 100644 --- a/sim/ppc/emul_netbsd.c +++ b/sim/ppc/emul_netbsd.c @@ -146,13 +146,13 @@ write_stat(unsigned_word addr, /* H2T(buf.st_spare2); */ H2T(buf.st_ctime); /* H2T(buf.st_spare3); */ -#ifdef AC_STRUCT_ST_RDEV +#ifdef HAVE_STRUCT_STAT_ST_RDEV H2T(buf.st_rdev); #endif -#ifdef AC_STRUCT_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE H2T(buf.st_blksize); #endif -#ifdef AC_STRUCT_ST_BLOCKS +#ifdef HAVE_STRUCT_STAT_ST_BLOCKS H2T(buf.st_blocks); #endif #if WITH_NetBSD_HOST |