- Update to fedora rawhide @ 0481d32. Maintenance script import-fedora.sh: * Skip gdb-fix-bg-execution-repeat.patch. - Add MIT in License tag due to gdbsupport/unordered_dense.h. - Update to fedora rawhide @ 89e3933. Maintenance script import-fedora.sh: * Drop gdb-6.8-bz466901-backtrace-full-prelinked.patch from skip_patches. - Update to fedora rawhide @ 660c52f. Drop patches: * gdb-rhbz1149205-catch-syscall-after-fork-test.patch - Update to fedora rawhide @ 885cdf8. Update patches: * gdb-add-rpm-suggestion-script.patch Drop patches: * fixup-gdb-add-rpm-suggestion-script.patch - Update to fedora rawhide @ 9c718a5. Drop patches: * gdb-6.3-mapping-zero-inode-test.patch - Update to fedora rawhide @ 15778f3. Drop patches: * gdb-archer-next-over-throw-cxx-exec.patch - Update to fedora rawhide @ 152468c. Maintenance script import-fedora.sh: * Rename gdb-6.3-rh-testversion-20041202.patch to gdb-test-show-version.patch in skip_patches. Patches dropped (Renamed to ...): * gdb-add-rpm-suggestion-script.patch Patches added (... this): * gdb-rpm-suggestion-script.patch - Move some patches from "Backport from gdb-patches" to "Backports from master, available in GDB 17". - Add patches (swo#33000): * gdb-tdep-fix-gdb.ada-finish-var-size.exp-on-ppc64le-.patch - Add patches (swo#32409): * gdb-ada-fix-gdb.ada-overloads.exp-on-s390x.patch - Add patches: * gdb-testsuite-make-gdb.reverse-time-reverse.exp-more.patch * gdb-testsuite-fix-gdb.reverse-time-reverse.exp-timeo.patch * gdb-testsuite-handle-asm-frame-in-gdb.python-py-miss.patch * gdb-testsuite-fix-gdb.base-ptype.exp-with-gcc-15.patch * gdb-testsuite-fix-gdb.python-py-objfile.exp-with-gcc.patch * gdb-testsuite-fix-gdb.ada-scalar_storage.exp-on-s390.patch * gdb-testsuite-fix-gdb.base-bp-permanent.exp-with-gcc.patch * gdb-testsuite-don-t-run-to-main-in-gdb.cp-cplusfuncs.patch OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=465
48 lines
1.5 KiB
Diff
48 lines
1.5 KiB
Diff
From b96df07528a707ebcb25ac445481fc827cdb0cf1 Mon Sep 17 00:00:00 2001
|
|
From: Tom de Vries <tdevries@suse.de>
|
|
Date: Thu, 5 Jun 2025 07:37:09 +0200
|
|
Subject: [PATCH 1/2] [gdb/testsuite] Fix gdb.base/bp-permanent.exp with gcc 15
|
|
|
|
With test-case gdb.base/bp-permanent.exp and gcc 15 I run into:
|
|
...
|
|
gdb compile failed, bp-permanent.c: In function 'test_signal_nested':
|
|
bp-permanent.c:118:20: error: passing argument 2 of 'signal' from \
|
|
incompatible pointer type [-Wincompatible-pointer-types]
|
|
118 | signal (SIGALRM, test_signal_nested_handler);
|
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
| |
|
|
| void (*)(void)
|
|
In file included from bp-permanent.c:20:
|
|
/usr/include/signal.h:88:57: note: expected '__sighandler_t' \
|
|
{aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
|
|
...
|
|
|
|
Fix this by adding an int parameter to test_signal_nested_handler.
|
|
|
|
Tested on x86_64-linux.
|
|
|
|
PR testsuite/32756
|
|
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32756
|
|
---
|
|
gdb/testsuite/gdb.base/bp-permanent.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gdb/testsuite/gdb.base/bp-permanent.c b/gdb/testsuite/gdb.base/bp-permanent.c
|
|
index 99f1c410bea..a733d3b17eb 100644
|
|
--- a/gdb/testsuite/gdb.base/bp-permanent.c
|
|
+++ b/gdb/testsuite/gdb.base/bp-permanent.c
|
|
@@ -101,7 +101,7 @@ test_signal_no_handler (void)
|
|
}
|
|
|
|
static void
|
|
-test_signal_nested_handler ()
|
|
+test_signal_nested_handler (int sig)
|
|
{
|
|
test ();
|
|
}
|
|
|
|
base-commit: fb9de096f43a1494d11b8f17779159a96d0a0a63
|
|
--
|
|
2.43.0
|
|
|