From d527cf1b1d8ddbfa79d9b912fe9a7943e19f6555 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 5 Jul 2025 04:18:16 +0000 Subject: usr.bin: Add 'readcore' program This commit introduces a new program called 'readcore'. This program allows a user to debug crashed programs by passing in the path of a coredump file. Signed-off-by: Ian Moffett --- usr.bin/readcore/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr.bin/readcore/Makefile (limited to 'usr.bin/readcore/Makefile') diff --git a/usr.bin/readcore/Makefile b/usr.bin/readcore/Makefile new file mode 100644 index 0000000..0c18475 --- /dev/null +++ b/usr.bin/readcore/Makefile @@ -0,0 +1,6 @@ +include user.mk + +CFILES = $(shell find . -name "*.c") + +$(ROOT)/base/usr/bin/readcore: + gcc -Iinclude/ $(CFILES) -o $@ $(INTERNAL_CFLAGS) -- cgit v1.2.3