Work around a lldb-server crash on ppc64le
Resolves: rhbz#2052982
This commit is contained in:
parent
2358859f44
commit
60cb7465ab
12
increase-m_hwp_regs-size.patch
Normal file
12
increase-m_hwp_regs-size.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruN lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h
|
||||
--- a/lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-01-20 22:31:59.000000000 +0100
|
||||
+++ b/lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-03-30 08:02:16.292360951 +0200
|
||||
@@ -122,7 +122,7 @@
|
||||
int mode; // Defines if watchpoint is read/write/access.
|
||||
};
|
||||
|
||||
- std::array<DREG, 4> m_hwp_regs;
|
||||
+ std::array<DREG, 16> m_hwp_regs;
|
||||
|
||||
// 16 is just a maximum value, query hardware for actual watchpoint count
|
||||
uint32_t m_max_hwp_supported = 16;
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: lldb
|
||||
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: NCSA
|
||||
@ -13,6 +13,9 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_v
|
||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig
|
||||
Source2: tstellar-gpg-key.asc
|
||||
|
||||
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2052982
|
||||
Patch0: increase-m_hwp_regs-size.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
@ -128,6 +131,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
||||
%{python3_sitearch}/lldb
|
||||
|
||||
%changelog
|
||||
* Wed Mar 30 2022 Timm Bäder <tbaeder@redhat.com> - 13.0.1-2
|
||||
- Work around a lldb-server crash on ppc64le
|
||||
|
||||
* Thu Feb 03 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
|
||||
- 13.0.1 Release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user