From: "Chunguang.Xu" <chunguang.xu(a)shopee.com>
Now crash cannnot found debian/ubuntu kernel vmlinux, we need
to explicitly specify the path to vmlinux. Try to add the debian
vmlinux location to default search dirs.
Signed-off-by: Chunguang Xu <chunguang.xu(a)shopee.com>
---
filesys.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/filesys.c b/filesys.c
index a863f04..c2ea78d 100644
--- a/filesys.c
+++ b/filesys.c
@@ -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
};
--
2.25.1