diff --git a/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch b/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch index 2037624..6ee260e 100644 --- a/0018-Let-gdb-get-kernel-module-symbols-info-from-crash.patch +++ b/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/crash.spec b/crash.spec index 27e7424..56ae42c 100644 --- a/crash.spec +++ b/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