Skip to content

Commit

Permalink
Merge pull request #26 from pbrucla/make_gdb
Browse files Browse the repository at this point in the history
made changes to makefile for gef
  • Loading branch information
Aplet123 authored Nov 16, 2023
2 parents ecdab20 + 2e1281c commit 652e1ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ image: boot kernel
run: default
$(QEMU) -drive format=raw,file=$(BUILD_DIR)/os_image

gdb: default
# Need to have GEF installed for this to work
$(QEMU) -drive format=raw,file=$(BUILD_DIR)/os_image -s -S & gdb -ex "gef-remote --qemu-user localhost 1234" build/kernel.elf

dockerun:
$(QEMU) -drive format=raw,file=$(BUILD_DIR)/os_image

Expand Down

0 comments on commit 652e1ac

Please sign in to comment.