- Upgrade to crash 8.0.6
- Remove patches already in or updated within 8.0.6 base:
* 0001-arm64-section_size_bits-compatible-with-macro-defini.patch
* 0002-Reflect-__-start-end-_init_task-kernel-symbols-renam.patch
* 0003-x86_64-fix-for-adding-top_of_kernel_stack_padding-fo.patch
* 0004-Fix-kmem-v-option-on-Linux-6.9-and-later-kernels.patch
* 0005-X86-64-fix-for-crash-session-loading-failure.patch
* 0006-Fix-for-failing-to-load-kernel-module.patch
* 0007-X86-64-fix-a-regression-issue-about-kernel-stack-pad.patch
* 0008-Fix-kmem-i-and-swap-commands-on-Linux-6.10-rc1-and-l.patch
* 0009-List-enable-LIST_HEAD_FORMAT-for-r-option.patch
* 0010-arm64-fix-a-potential-segfault-when-unwind-frame.patch
* 0011-arm64-Fix-bt-command-show-wrong-stacktrace-on-ramdum.patch
- Added new patch to correct gcore extension use of modified
set_context() function with an extra argument
* gcore-fix-use-of-set_context.patch
OBS-URL: https://build.opensuse.org/request/show/1254203
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=398
- On initialization crash verifies the core based on the text
referenced by the linux_banner symbol in the supplied core. It
chooses how to get the address of the text based on the symbol
type decoded with gdb. For some compressed kernels with an
accessible debuginfo file the type is not supported (bss segment
found, data reference expected) but the symbol and it's value are
valid. This causes the linux_banner text to be used as the
"address" of the linux_banner and that's an invalid address for
the coredump causing crash to fail to load reporting something
like:
WARNING: invalid linux_banner pointer: 65762078756e694c
where the address is obviously ASCII text used as a number. A
SUSE patch to support compressed kernel binaries introduces the
behavior, it does not happen for upstream crash source as-is. The
difference is whether the symbol details are obtained from the
kernel binary or debuginfo (fails for some debuginfos).
* crash-get-linux_banner-without-using-syment-type.patch
In verify_version(), choose how to obtain the linux_banner address
based on the result of get_symbol_type() instead. TYPE_CODE_ARRAY
causes the value of the symbol obtained from gdb to be used.
TYPE_CODE_PTR causes the sybol data to be read to get the address.
Default is unrecognized type but a warning is shown and the value
obtained from gdb used as a best case choice.
(bsc#1190434 c#24)
OBS-URL: https://build.opensuse.org/request/show/1112906
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=384
- crash has it's own definitions of some glibc functions, including
strlcpy(), length limited string copy. In glibc 2.38 the second
argument is const char *, in crash it is char *. The argument is
the source string to copy from and shouldn't be modified. crash
uses the glibc version in some places, it's own in others and the
declarations are incompatible resulting in build errors. Added
* crash-fix-glibc-redefs.patch
to make the crash declaration of strlcpy() match the glibc 2.38
version. It may also need to be made product version conditional
but it should fix Factory.
OBS-URL: https://build.opensuse.org/request/show/1104081
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=380
- Fix build on SLE12:
* crash-gdb-gnulib-define-warndecl.patch: Provide a definition of
__warndecl() in the gnulib copy of cdefs.h.
- Update to crash 8.0.3
- Remove upstreamed patches:
* crash-EPPIC-extension-support-for-crash-8.x-gdb-10.x.patch
* crash-Add-RISCV64-framework-code-support.patch
* crash-RISCV64-Make-crash-tool-enter-command-line-and-suppo.patch
* crash-RISCV64-Add-dis-command-support.patch
* crash-RISCV64-Add-irq-command-support.patch
* crash-RISCV64-Add-bt-command-support.patch
* crash-RISCV64-Add-help-r-command-support.patch
* crash-RISCV64-Add-help-m-M-command-support.patch
* crash-RISCV64-Add-mach-command-support.patch
* crash-RISCV64-Add-the-implementation-of-symbol-verify.patch
* crash-define-EM_RISCV-fallback.patch
* gdb-10.2-Revert-gnulib-fix-stat-fstat-build-errors.patch
* gdb-10.2-gnulib-update-to-776af40e0.patch
- Stop building the trace extension from the main package. The
extension is now built from the crash-trace source package.
- Remove crash-trace-2021-02-08.tar.bz2
OBS-URL: https://build.opensuse.org/request/show/1084726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crash?expand=0&rev=187
- crash-define-EM_RISCV-fallback.patch: Provide a fallback
definition of EM_RISCV.
- Remove crash-Define-fallback-PN_XNUM.patch: No more compatibility
with SLE11.
- Enable build for 32-bit Arm and 32-bit IBM POWER.
- Add support for RISCV64:
* crash-Add-RISCV64-framework-code-support.patch
* crash-RISCV64-Make-crash-tool-enter-command-line-and-suppo.patch
* crash-RISCV64-Add-dis-command-support.patch
* crash-RISCV64-Add-irq-command-support.patch
* crash-RISCV64-Add-bt-command-support.patch
* crash-RISCV64-Add-help-r-command-support.patch
* crash-RISCV64-Add-help-m-M-command-support.patch
* crash-RISCV64-Add-mach-command-support.patch
* crash-RISCV64-Add-the-implementation-of-symbol-verify.patch
OBS-URL: https://build.opensuse.org/request/show/1080856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/crash?expand=0&rev=185
- Update to crash 8.0.2
- Update to gdb-10.2
- Support kernels at least up to 5.18
- Refresh
* crash-patch-gdb.patch
* crash-extensions-rule-for-defs.patch
* crash-SLE15-SP1-Fix-for-PPC64-kernel-virtual-address-translation-in.patch
- Remove upstreamed patches
* 0019-Add-kernel-version-dependent-check-for-getting-lengt.patch
* crash-missing-declarations.patch
- Disable eppic extension, because it does not built for GDB 10.2.
- Remove eppic patches
* eppic-remove-duplicate-symbols.patch
* eppic-support-arm64.patch
* eppic-switch-to-system-lib.patch
- Clean up specfile after the discontinued SIAL extension.
OBS-URL: https://build.opensuse.org/request/show/1078638
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=366
- make of crash extensions was failing due to extension shared
objects depending on extension source file plus defs.h. defs.h is
hardlinked from the crash base source directory before the .so
make rule but make reports it doesn't know how to make requirement
defs.h. I added a rule for defs.h in the extensions Makefile that
creates defs.h the same way as was previously used but satisfies
the dependency resolution on demand then the make succeeded.
* crash-extensions-rule-for-defs.patch
(bsc#1204587)
OBS-URL: https://build.opensuse.org/request/show/1031227
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/crash?expand=0&rev=358