From 15cd6b372a01483df39220735b7f5935e5365296 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 29 Nov 2024 22:39:32 +0100 Subject: Fix gdb target by not removing ELF executable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GDB actually needs the ELF executable to run a session with symbols loaded in. Hence, do not remove the `fbos.elf` file after calling `objcopy`. Signed-off-by: Miquel Sabaté Solà --- Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5c95c02..5b98a8d 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,6 @@ all: clean $(IMAGE) usr test $(IMAGE): $(KRNL) $(E) " OBJCOPY " $@ $(Q) $(OBJCPY) $(KRNL) -O binary $(IMAGE) - $(Q) rm $(KRNL) .PHONY: $(KRNL) $(KRNL): $(OBJ) $(LINKER).S -- cgit v1.2.3