os/.gdbinit
pjht d62ccb0dc1 Add a process to act as a filesytem driver and get a .gdbinit file setup
.gdbinit is used to make it easier to debug userspace processes
2019-07-13 10:18:41 -05:00

21 lines
312 B
Plaintext

target remote localhost:1234
symbol-file kernel/kernel.elf
add-symbol-file fsdrv/fsdrv
b tasking.c:120
commands
disable breakpoints
symbol-file kernel/kernel.elf
if task->pid==2
add-symbol-file fsdrv/fsdrv
enable breakpoints
else
enable breakpoints 1
end
c
end
b main
commands
disable breakpoints 1
end