ns3 quagga代码调试

1 调试的代码

[root@zsc65 example]# ../waf --run dce-quagga-ospfd --command-template="gdb --args %s --netStack=ns3"

2 处理SIGUSR1信号

(gdb) handle SIGUSR1 nostop

3 设置中断

(gdb) b 1152
Breakpoint 2 at 0x7ffff7bc5f0d: file ../myscripts/ns-3-dce-quagga/helper/quagga-helper.cc, line 1152.
(gdb)


你可能感兴趣的:(ns3 quagga代码调试)