Skip to content

Commit

Permalink
inline gdb config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aplet123 committed Nov 16, 2023
1 parent 34bfe1f commit 2e1281c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ run: default
$(QEMU) -drive format=raw,file=$(BUILD_DIR)/os_image

gdb: default
$(QEMU) -drive format=raw,file=$(BUILD_DIR)/os_image -s -S & gdb -x "~/.config/gefremote" build/kernel.elf
# 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 2e1281c

Please sign in to comment.