pjht
823a255e1a
Unfortunately, this breaks the VFS, so the rest of this commit attempts (and fails) to fix it.
25 lines
376 B
Plaintext
25 lines
376 B
Plaintext
set pagination off
|
|
target remote localhost:1234
|
|
symbol-file kernel/kernel.elf
|
|
add-symbol-file fsdrv/fsdrv
|
|
b tasking.c:123
|
|
commands
|
|
silent
|
|
disable breakpoints
|
|
symbol-file kernel/kernel.elf
|
|
p task->pid
|
|
if task->pid==3
|
|
add-symbol-file fsdrv/fsdrv
|
|
enable breakpoints
|
|
else
|
|
enable breakpoints 1
|
|
c
|
|
end
|
|
c
|
|
end
|
|
|
|
b main
|
|
commands
|
|
disable breakpoints 1
|
|
end
|