Add debian/ubuntu vmlinux location to default search dirs

Now crash cannot find debian/ubuntu kernel vmlinux, we need to
explicitly specify the path to vmlinux. Try to add the debian
vmlinux location to default search directories.

Signed-off-by: Chunguang Xu <chunguang.xu@shopee.com>
This commit is contained in:
Chunguang.Xu 2022-08-25 12:07:20 +08:00 committed by Kazuhito Hagio
parent 3ed9ec5c8d
commit 5b9d3e98cd

View File

@ -319,7 +319,7 @@ match_proc_version(void)
#define CREATE 1
#define DESTROY 0
#define DEFAULT_SEARCHDIRS 5
#define DEFAULT_SEARCHDIRS 6
#define EXTRA_SEARCHDIRS 5
static char **
@ -336,6 +336,7 @@ build_searchdirs(int create, int *preferred)
"/boot/",
"/boot/efi/redhat",
"/boot/efi/EFI/redhat",
"/usr/lib/debug/boot/",
"/",
NULL
};