2012-08-14 81 views

回答

2

使用set logging redirect on

這是一個例子:

host: srv2-x64rh5-02, OS: Linux 2.6.18-238.el5>more .gdbinit 
set logging redirect on 
set logging file /dev/null 
set logging on 
file a.out 
b main 
commands 
bt 
info args 
c 
end 
help 
r 
set logging off 
quit 
-1

是的,所有的信息,即必須在外殼的輸出,你可以在.gdbinit 防止你可以看一下例子./gdbinit從這個傢伙http://reverse.put.as/

+0

您能否提供一個更具體的鏈接? – Randomblue 2012-08-15 14:46:13