Skip to content

Commit 5b9d3e9

Browse files
Chunguang.Xuk-hagio
Chunguang.Xu
authored andcommitted
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 <[email protected]>
1 parent 3ed9ec5 commit 5b9d3e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

filesys.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ match_proc_version(void)
319319

320320
#define CREATE 1
321321
#define DESTROY 0
322-
#define DEFAULT_SEARCHDIRS 5
322+
#define DEFAULT_SEARCHDIRS 6
323323
#define EXTRA_SEARCHDIRS 5
324324

325325
static char **
@@ -336,6 +336,7 @@ build_searchdirs(int create, int *preferred)
336336
"/boot/",
337337
"/boot/efi/redhat",
338338
"/boot/efi/EFI/redhat",
339+
"/usr/lib/debug/boot/",
339340
"/",
340341
NULL
341342
};

0 commit comments

Comments
 (0)