gdb为什么会有input not from terminal显示


以前我直接调用IDE里的gdb用惯了,后来装了minGW要回答Y/N的地方都会自动帮我回答,显示类似answered N input not from terminal的东西,那这个回答到底是哪里帮我回答的,怎么关掉,然后再minGW bash里用gdb还有没有什么其它的不同点?

gdb

胖子ymd 10 years, 10 months ago

你可以这样设置debugger

set breakpoint pending on

更多信息,可以通过help来查看

(gdb) help set breakpoint pending 
Set debugger's behavior regarding pending breakpoints. 
If on, an unrecognized breakpoint location will cause gdb to create a 
pending breakpoint. If off, an unrecognized breakpoint location results in 
an error. If auto, an unrecognized breakpoint location results in a

user-query to see if a pending breakpoint should be created.

youne answered 10 years, 10 months ago

Your Answer