Gcore extension module for the crash utility
Backport from the upstream crash-gcore. commit 03f9360715731f18e4fdae7b30aa34b30dddcd57 Author: HATAYAMA Daisuke <d.hatayama@fujitsu.com> Date: Sat Mar 26 21:42:02 2022 +0900 x86: Fix failure of collecting vsyscall mapping due to change of enum type of vsyscall_mode vsyscall mapping fails to get collected because the commit bd49e16e3339 (x86/vsyscall: Add a new vsyscall=xonly mode) merged at kernel v5.2-rc7 added constant XONLY to the anonymous enumeration type of variable vsyscall_mode, which made the value of constant NONE change from 1 to 2. This commit fixes the issue by checking the value of constant NONE using gdb's print command and typeof operator since there's no utility function to handle such anonymous enumeration type currently in crash utility. Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com> Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com> |
||
---|---|---|
.gitignore | ||
crash-gcore-1.6.3-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch | ||
crash-gcore-1.6.3-gcore-defs-remove-definitions-and-initializations-fo.patch | ||
crash-gcore-1.6.3-gcore-fix-memory-allocation-failure-during-processin.patch | ||
crash-gcore-1.6.3-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch | ||
crash-gcore-command.spec | ||
README.md | ||
sources |
crash-gcore-command
The crash-gcore-command package