Fix crash vmlinux /proc/kcore failed
When executing "crash vmlinux /proc/kcore", the following error occurred: crash: cannot translate the ELF header of /proc/kcore Cause of the problem: The code in the patch was merged into the wrong location. Signed-of-by: Duan Chenghao <duanchenghao@kylinos.cn>
This commit is contained in:
parent
12cf3e71ab
commit
3836a4b0b1
@ -17211,7 +17211,7 @@ index 3907863..e977ae8 100644
|
||||
static void check_dumpfile_size(char *);
|
||||
static int proc_kcore_init_32(FILE *, int);
|
||||
static int proc_kcore_init_64(FILE *, int);
|
||||
@@ -217,6 +218,11 @@ is_netdump(char *file, ulong source_query)
|
||||
@@ -314,6 +315,11 @@ is_netdump(char *file, ulong source_query)
|
||||
source_query))
|
||||
goto bailout;
|
||||
break;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: crash
|
||||
Version: 8.0.4
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Linux kernel crash utility.
|
||||
License: GPLv3
|
||||
URL: https://crash-utility.github.io
|
||||
@ -88,6 +88,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
|
||||
%{_mandir}/man8/crash.8*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 25 2024 duanchenghao <duanchenghao@kylinos.cn> - 8.0.4-6
|
||||
- Fix crash vmlinux /proc/kcore failed for loongarch64
|
||||
|
||||
* Fri Sep 06 2024 yanying <201250106@smail.nju.edu.cn> - 8.0.4-5
|
||||
- Add gdbsupport ignore Wenum-constexpr-conversion in enum-flags.h to fix clang build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user