public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix gdb.arch/amd64-entry-value-paramref.exp rebase regression.
@ 2026-06-27 23:58 Jan Kratochvil
  0 siblings, 0 replies; only message in thread
From: Jan Kratochvil @ 2026-06-27 23:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : b1807ab4e1ee4a67142a38a2fe3e1cb900968caf
Author : Jan Kratochvil <jan.kratochvil@redhat.com>
Date   : 2017-02-28T23:05:31+01:00
Stats  : +24/-23 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/b1807ab4e1ee4a67142a38a2fe3e1cb900968caf?branch=gdb-17.2-rebase-f44

Log:
Fix gdb.arch/amd64-entry-value-paramref.exp rebase regression.

---
diff --git a/gdb-vla-intel-stringbt-fix.patch b/gdb-vla-intel-stringbt-fix.patch
index 1d29825..09913f8 100644
--- a/gdb-vla-intel-stringbt-fix.patch
+++ b/gdb-vla-intel-stringbt-fix.patch
@@ -31,35 +31,33 @@ Index: gdb-7.12.50.20170207/gdb/dwarf2loc.c
 ===================================================================
 --- gdb-7.12.50.20170207.orig/gdb/dwarf2loc.c	2017-02-16 23:31:53.977893289 +0100
 +++ gdb-7.12.50.20170207/gdb/dwarf2loc.c	2017-02-16 23:37:44.625522081 +0100
-@@ -2285,6 +2285,12 @@
+@@ -42,6 +42,7 @@
+ #include <algorithm>
+ #include <vector>
+ #include <unordered_set>
++#include <functional>
+ 
+ extern int dwarf_always_disassemble;
+ 
+@@ -2350,6 +2350,18 @@ dwarf2_evaluate_loc_desc_full (struct ty
    ctx.per_cu = per_cu;
    ctx.obj_address = 0;
  
 +struct frame_info *old_frame (deprecated_safe_get_selected_frame ());
-+TRY
-+  {
-+  if (frame != NULL)
-+    select_frame (frame);
++class RestoreCall {
++private:
++  const std::function<void ()> func;
++public:
++  RestoreCall(std::function<void ()> func_):func(func_) {}
++  ~RestoreCall() { func(); }
++} restore_frame([&]() {
++  select_frame (old_frame);
++});
++if (frame != NULL) select_frame (frame);
 +
    scoped_value_mark free_values;
  
    ctx.gdbarch = get_objfile_arch (objfile);
-@@ -2471,6 +2477,15 @@
- 
-   set_value_initialized (retval, ctx.initialized);
- 
-+  }
-+CATCH (ex, RETURN_MASK_ALL)
-+  {
-+    select_frame (old_frame);
-+    throw_exception (ex);
-+  }
-+END_CATCH
-+select_frame (old_frame);
-+
-   return retval;
- }
- 
 Index: gdb-7.12.50.20170207/gdb/testsuite/gdb.fortran/dynamic-other-frame-stub.f90
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000

diff --git a/gdb.spec b/gdb.spec
index 93a043f..204ee34 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -26,7 +26,7 @@ Version: 7.12.50.%{snapsrc}
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
 Group: Development/Debuggers
@@ -1578,8 +1578,11 @@ then
 fi
 
 %changelog
+* Tue Feb 28 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.12.50.20170226-3.fc26
+- Fix gdb.arch/amd64-entry-value-paramref.exp rebase regression.
+
 * Tue Feb 28 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.12.50.20170226-2.fc26
-- [rhel] Fix gdb.python/py-gil-mthread.exp for Python 2 compat. (RH BZ 1427487).
+- [testsuite] [rhel] Fix py-gil-mthread.exp for Python 2 compat (RH BZ 1427487).
 
 * Mon Feb 27 2017 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.12.50.20170226-1.fc26
 - Rebase to pre-7.13 FSF GDB trunk.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:58 [rpms/gdb] gdb-17.2-rebase-f44: Fix gdb.arch/amd64-entry-value-paramref.exp rebase regression Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox