Accepting request 1168788 from devel:gcc

- Maintenance script qa.sh:
  * Add PR31648 KFAIL.
  * Handle yama ptrace_scope == 1.
- Patches added (bsc#1220490):
  * fixup-gdb-6.6-buildid-locate-rpm.patch

OBS-URL: https://build.opensuse.org/request/show/1168788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=177
This commit is contained in:
2024-04-18 20:08:02 +00:00
committed by Git OBS Bridge
4 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
From 95ef5612ccbf31696e05e8699196eb7dd1c78918 Mon Sep 17 00:00:00 2001
From: Tom de Vries <tdevries@suse.de>
Date: Sat, 9 Mar 2024 11:48:38 +0100
Subject: [PATCH] fixup
---
gdb/configure | 1 +
gdb/configure.ac | 1 +
2 files changed, 2 insertions(+)
diff --git a/gdb/configure b/gdb/configure
index a4e6de5bdbd..304e90ab07b 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -17920,6 +17920,7 @@ else
#include <rpm/rpmlib.h>
#include <dlfcn.h>
#include <errno.h>
+#include <string.h>
int
main ()
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 831ecbb136b..845710f9098 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -206,6 +206,7 @@ if test "x$with_rpm" != "xno"; then
#include <rpm/rpmlib.h>
#include <dlfcn.h>
#include <errno.h>
+#include <string.h>
]], [[
void *h;
const char *const *rpmverp;
base-commit: 6ff01b957d8b1bb00484e9c0f2c695f27e0bb7cd
--
2.35.3

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Apr 18 08:21:00 UTC 2024 - Tom de Vries <tdevries@suse.com>
- Maintenance script qa.sh:
* Add PR31648 KFAIL.
* Handle yama ptrace_scope == 1.
-------------------------------------------------------------------
Wed Apr 10 08:22:47 UTC 2024 - Tom de Vries <tdevries@suse.com>
- Patches added (bsc#1220490):
* fixup-gdb-6.6-buildid-locate-rpm.patch
-------------------------------------------------------------------
Wed Mar 20 09:53:08 UTC 2024 - Richard Biener <rguenther@suse.com>

View File

@@ -243,6 +243,7 @@ Patch1009: fixup-gdb-6.3-gstack-20050411.patch
Patch1010: fixup-gdb-6.3-attach-see-vdso-test.patch
Patch1011: fixup-gdb-lineno-makeup-test.patch
Patch1012: fixup-gdb-rhbz1261564-aarch64-hw-watchpoint-test.pat.patch
Patch1013: fixup-gdb-6.6-buildid-locate-rpm.patch
# openSUSE specific
@@ -760,6 +761,7 @@ find -name "*.info*"|xargs rm -f
%patch -P 1010 -p1
%patch -P 1011 -p1
%patch -P 1012 -p1
%patch -P 1013 -p1
%patch -P 1100 -p1
%patch -P 1101 -p1

22
qa.sh
View File

@@ -443,6 +443,16 @@ kfail_sle11=(
kfail_factory=(
# yama ptrace_scope == 1
# https://sourceware.org/pipermail/gdb-patches/2024-April/208251.html
"FAIL: .*attach.*"
"FAIL: .*detach.*"
"FAIL: gdb.base/gcore-excessive-memory.exp: verify we can get to main"
"FAIL: gdb.base/gcore-excessive-memory.exp: verify we can get to main"
"FAIL: gdb.base/gcore-excessive-memory.exp: Save the core file"
"FAIL: gdb.base/gcorebg.exp: Core file generated by standard gcore"
"FAIL: gdb.threads/check-libthread-db.exp: automated load-time check: libpthread.so fully initialized: check debug libthread-db output \(pattern 1\)"
# https://sourceware.org/pipermail/gdb-patches/2021-October/182449.html
"FAIL: gdb.threads/current-lwp-dead.exp: continue to breakpoint: fn_return"
@@ -744,6 +754,18 @@ case $n in
# https://sourceware.org/bugzilla/show_bug.cgi?id=31001
"UNRESOLVED: gdb.threads/async.exp: thread 1: current thread is 1"
# https://sourceware.org/bugzilla/show_bug.cgi?id=31648
"UNRESOLVED: gdb.ada/tick_length_array_enum_idx.exp: print vars'length"
# yama ptrace_scope == 1
# https://sourceware.org/pipermail/gdb-patches/2024-April/208251.html
"Factory.*UNRESOLVED: gdb.base/gstack.exp: spawn gstack"
"Factory.*UNRESOLVED: gdb.multi/multi-term-settings.exp: inf1_how=run: inf2_how=attach: inf2: flush inferior output"
"Factory.*UNRESOLVED: gdb.multi/multi-term-settings.exp: inf1_how=attach: inf2_how=run: inf1: flush inferior output"
"Factory.*UNRESOLVED: gdb.multi/multi-term-settings.exp: inf1_how=attach: inf2_how=attach: inf2: flush inferior output"
"Factory.*UNRESOLVED: gdb.multi/multi-term-settings.exp: inf1_how=attach: inf2_how=run: continue"
"Factory.*UNRESOLVED: gdb.multi/multi-term-settings.exp: inf1_how=attach: inf2_how=run: continue"
)
kfail_re=$(join "|" "${kfail[@]}")