diff options
author | Marvin Borner | 2020-07-14 21:55:29 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-14 21:55:29 +0200 |
commit | 821d6d73c2791be19a522dd96c208a29be37e27a (patch) | |
tree | 597865eabd85bd76d942e0500ac700437a3df7db /run | |
parent | 9d15c733976b9edec29de7cda7383e0aa1775ac6 (diff) |
Added debug mode
Diffstat (limited to 'run')
-rwxr-xr-x | run | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -114,6 +114,12 @@ make_test() { qemu_with_flags -hdb build/disk.img } +make_debug() { + qemu_with_flags -display none -hdb build/disk.img -s -S & + gdb "$(pwd)"/build/melvix.bin -ex 'target remote localhost:1234' + killall qemu-system-i386 +} + make_disasm() { objdump -drwC -Mintel build/kernel.bin --visualize-jumps=color | less -R } |