From 76539775468bc7c8a16c1ae4c9f5ae00b976fd70 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 24 Nov 2022 08:09:58 +0000 Subject: [PATCH] import crash-7.3.2-4.el8 --- ...8-Let-gdb-get-kernel-module-symbols-info-from-crash.patch | 2 +- SPECS/crash.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SOURCES/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch b/SOURCES/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch index 2037624..6ee260e 100644 --- a/SOURCES/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch +++ b/SOURCES/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch @@ -118,7 +118,7 @@ index 1f10006a2d63..f9d0018998df 100644 +{ + struct syment *sp; + -+ if ((sp = value_search_module(addr, offset))) { ++ if ((sp = value_search(addr, offset))) { + return sp->name; + } else { + return NULL; diff --git a/SPECS/crash.spec b/SPECS/crash.spec index 27e7424..56ae42c 100644 --- a/SPECS/crash.spec +++ b/SPECS/crash.spec @@ -4,7 +4,7 @@ Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles Name: crash Version: 7.3.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3 Group: Development/Debuggers Source0: https://github.com/crash-utility/crash/archive/crash-%{version}.tar.gz @@ -160,6 +160,9 @@ rm -rf %{buildroot} %{_includedir}/* %changelog +* Mon Nov 21 2022 Lianbo Jiang - 7.3.2-4 +- Fix for commit 2145b2bb79c5, there are different behaviors between gdb-7.6 and gdb-10.2 + * Thu Nov 17 2022 Lianbo Jiang - 7.3.2-3 - Update to the latest commit a158590f475c from master branch