Gcore extension module for the crash utility
Go to file
HATAYAMA Daisuke ae4ad4d495 x86: Fix failure of collecting vsyscall mapping due to change of enum type of vsyscall_mode
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>
2022-07-26 15:13:42 +09:00
.gitignore Update to latest upstream release v2 2021-12-20 06:18:09 +09:00
crash-gcore-1.6.3-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch coredump: use MEMBER_{OFFSET, SIZE} instead of GCORE_{OFFSET, SIZE} 2022-07-26 15:13:32 +09:00
crash-gcore-1.6.3-gcore-defs-remove-definitions-and-initializations-fo.patch gcore, defs: remove definitions and initializations for saved_auxv entries of offset and size tables 2022-07-26 15:13:38 +09:00
crash-gcore-1.6.3-gcore-fix-memory-allocation-failure-during-processin.patch gcore: fix memory allocation failure during processing NT_AUXV note 2022-07-26 15:13:40 +09:00
crash-gcore-1.6.3-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch x86: Fix failure of collecting vsyscall mapping due to change of enum type of vsyscall_mode 2022-07-26 15:13:42 +09:00
crash-gcore-command.spec Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild 2022-07-20 23:43:32 +00:00
README.md Added the README 2021-02-17 14:38:01 +00:00
sources Update to latest upstream release v2 2021-12-20 06:18:09 +09:00

crash-gcore-command

The crash-gcore-command package