Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 gdb,我将编写一个 .gdbinit 文件,其中包含以下内容:
break file1.c:32 catch syscall write # more setup commands run
这将使 gdb 运行程序并在这些断点处停止。
我怎样才能对 gdbserver 做同样的事情?例如:只有在断点被命中时才停止接受连接?