运行/ sbin / keepalived时gdb挂断

时间:2019-02-14 06:03:25

标签: gdb

通过以下代码进行调试时,gdb会挂断。

$ gdb /sbin/keepalived
(gdb) set follow-fork-mode child
(gdb) run -n -f /etc/keepalived/keepalived.conf
Starting program: /sbin/keepalived -n -f /etc/keepalived/keepalived.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New process 12730]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".


gdb,无响应...

0 个答案:

没有答案