Gcore extension module for the crash utility
Backport from the upstream crash-gcore.
commit 8ff3de974aa9fdf8934797122dc55428ef571ab2
Author: Vincent Whitchurch <vincent.whitchurch@axis.com>
Date: Tue Jun 21 09:15:34 2022 +0000
elf: fix warning message caused by type mismatch of offset types
Use loff_t consistently to fix these warnings on -m32 builds on 64-bit:
libgcore/gcore_coredump.c: In function ‘writenote’:
libgcore/gcore_coredump.c:701:58: warning: passing argument 3 of
‘gcore->elf->ops->write_note_header’ from incompatible pointer type
[-Wincompatible-pointer-types]
if (!gcore->elf->ops->write_note_header(gcore->elf, fp, foffset))
^~~~~~~
libgcore/gcore_coredump.c:701:58: note: expected ‘off_t *’ {aka ‘long
int *’} but argument is of type ‘loff_t *’ {aka ‘long long int *’}
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
||
|---|---|---|
| .gitignore | ||
| crash-gcore-1.6.3-coredump-fix-segmentation-fault-caused-by-type-misma.patch | ||
| crash-gcore-1.6.3-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch | ||
| crash-gcore-1.6.3-elf-fix-warning-message-caused-by-type-mismatch-of-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