摘要:
转载:https://ouonline.net/gdb-define-command 平常不怎么用 gdb,一般也就是找一下内存访问错误的地方然后加 printf 语句定位。这两天重写红黑树,发现新写的和原来写的输出不一致,但又不知道哪个是错的,在打印日志无果的情况下,决定试试单步调试。很多时候选择 阅读全文
摘要:
转自:https://shenki.github.io/debugging-u-boot-after-relocation/ Debugging u-boot in Qemu allows for JTAG-style single stepping without the hassle of se 阅读全文