Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdb for openSUSE:Factory checked in at 2022-10-27 13:54:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdb (Old) and /work/SRC/openSUSE:Factory/.gdb.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdb" Thu Oct 27 13:54:01 2022 rev:167 rq:1031179 version:12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gdb/gdb.changes 2022-10-01 17:42:11.889565365 +0200 +++ /work/SRC/openSUSE:Factory/.gdb.new.2275/gdb.changes 2022-10-27 13:54:37.212704580 +0200 @@ -1,0 +2,8 @@ +Wed Oct 19 16:35:34 UTC 2022 - Tom de Vries <tdevr...@suse.com> + +- Patches added (swo#29277): + * gdb-fix-assert-in-handle_jit_event.patch +- Maintenance script qa.sh: + * Add PR29706 and PR28617 kfails. + +------------------------------------------------------------------- New: ---- gdb-fix-assert-in-handle_jit_event.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdb.spec ++++++ --- /var/tmp/diff_new_pack.OVk6Vm/_old 2022-10-27 13:54:39.736717455 +0200 +++ /var/tmp/diff_new_pack.OVk6Vm/_new 2022-10-27 13:54:39.752717536 +0200 @@ -347,6 +347,7 @@ Patch2033: gdb-testsuite-fix-have_mpx-test.patch Patch2034: gdb-testsuite-fix-gdb.dwarf2-dw2-unspecified-type-foo.c-with-m32.patch Patch2035: gdb-add-support-for-readline-8.2.patch +Patch2036: gdb-fix-assert-in-handle_jit_event.patch # Backports from master, not yet available in next release. @@ -783,6 +784,7 @@ %patch2033 -p1 %patch2034 -p1 %patch2035 -p1 +%patch2036 -p1 %patch2100 -p1 %patch2101 -p1 ++++++ gdb-fix-assert-in-handle_jit_event.patch ++++++ [gdb] Fix assert in handle_jit_event With the cc-with-tweaks.sh patch submitted here ( https://sourceware.org/pipermail/gdb-patches/2022-October/192586.html ) we run with: ... $ export STRIP_ARGS_STRIP_DEBUG=--strip-all $ make check RUNTESTFLAGS="gdb.base/jit-reader.exp \ --target_board cc-with-gnu-debuglink" ... into the following assert: ... (gdb) run ^M Starting program: jit-reader ^M gdb/jit.c:1247: internal-error: jit_event_handler: \ Assertion `jiter->jiter_data != nullptr' failed.^M ... Fix this by handling the jit_bp_sym.objfile->separate_debug_objfile_backlink != nullptr case in handle_jit_event. Tested on x86_64-linux. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29277 --- gdb/breakpoint.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b046adf08f9..34f35135dfe 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5566,7 +5566,10 @@ handle_jit_event (CORE_ADDR address) function needs to be updated too. */ bound_minimal_symbol jit_bp_sym = lookup_minimal_symbol_by_pc (address); gdb_assert (jit_bp_sym.objfile != nullptr); - jit_event_handler (gdbarch, jit_bp_sym.objfile); + objfile *objfile = jit_bp_sym.objfile; + if (objfile->separate_debug_objfile_backlink) + objfile = objfile->separate_debug_objfile_backlink; + jit_event_handler (gdbarch, objfile); target_terminal::inferior (); } ++++++ qa.sh ++++++ --- /var/tmp/diff_new_pack.OVk6Vm/_old 2022-10-27 13:54:40.416720923 +0200 +++ /var/tmp/diff_new_pack.OVk6Vm/_new 2022-10-27 13:54:40.420720944 +0200 @@ -245,6 +245,16 @@ # https://sourceware.org/bugzilla/show_bug.cgi?id=26873 "FAIL: gdb.threads/watchthreads-threaded.exp: threaded watch loop \(GDB internal error\)" + # https://sourceware.org/bugzilla/show_bug.cgi?id=28617 + "FAIL: gdb.base/info-os.exp: get file descriptors" + "FAIL: gdb.base/info-os.exp: get internet-domain sockets" + "FAIL: gdb.base/info-os.exp: get message queues" + "FAIL: gdb.base/info-os.exp: get process groups" + "FAIL: gdb.base/info-os.exp: get semaphores" + "FAIL: gdb.base/info-os.exp: get shared-memory regions" + "FAIL: gdb.base/info-os.exp: get threads" + + ) # kfail kfail_sle12=( @@ -353,6 +363,9 @@ "FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue to main \(timeout\)" "FAIL: gdb.server/stop-reply-no-thread.exp: to_disable=threads: continue until exit \(timeout\)" + # https://sourceware.org/bugzilla/show_bug.cgi?id=29706 + "FAIL: gdb.base/eof-exit.exp: with non-dump terminal: with bracketed-paste-mode on: close GDB with eof \(missed the prompt\)" + ) # kfail_factory kfail_aarch64=(