Work on scheduler
This commit is contained in:
parent
cbc51f523e
commit
14bced8243
8 changed files with 98 additions and 79 deletions
17
autodebug.sh
Executable file
17
autodebug.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
# how it works:
|
||||
# Args are fed to QEMU, then GDB and everything else does shit automagically
|
||||
# 1st arg: terminal name to spawn GDB
|
||||
# 2nd arg: place to breakpoint in
|
||||
termname=$1
|
||||
breakpoint=$2
|
||||
shift 2
|
||||
|
||||
qemu-system-x86_64 "$@" &
|
||||
|
||||
wait 1
|
||||
|
||||
"$termname" -e gdb -ex 'target remote localhost:1234' -ex 'break _start' -ex 'continue' build/SFB25.elf
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue