一个小巧的调试器实现了 GDB 远程串行协议。可以在 i386、x86_64、ARM 和 PowerPC 上运行。
This project creates a tiny debugger based on ptrace.
It implements the GDB Remote Serial Protocol, works like a real gdbserver and can be connected by gdb client.
glibcYou can compile it by
$ makeor even
$ gcc -std=gnu99 *.c -o gdbserverAnd run it by
$ ./gdbserver 127.0.0.1:1234 a.outor you can attach an existed process
$ ./gdbserver --attach 127.0.0.1:1234 23456Then you can run normal gdb (Only GDB 8.x is tested) and connect it by
target remote 127.0.0.1:1234暂无开放 Issues,或尚未同步最近议题。