X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bef1210245bb3180a57f26405369654eaa477f63..6c506d8916fb114675e93d0e2cb20831d4022294:/lunaix-os/makefile?ds=sidebyside diff --git a/lunaix-os/makefile b/lunaix-os/makefile index c332bf7..6e9fdb0 100644 --- a/lunaix-os/makefile +++ b/lunaix-os/makefile @@ -90,7 +90,7 @@ run: $(BUILD_DIR)/$(OS_ISO) @telnet 127.0.0.1 $(QEMU_MON_PORT) debug-qemu: all-debug - @i686-elf-objcopy --only-keep-debug $(kbin) $(kbuild_dir)/kernel.dbg + @objcopy --only-keep-debug $(kbin) $(kbuild_dir)/kernel.dbg @qemu-system-i386 $(call get_qemu_options,$(kimg)) @sleep 1 @QMPORT=$(QEMU_MON_PORT) gdb $(kbin) -ex "target remote localhost:1234"