gdb7.5如何支持non-stop模式
环境:windows下mingw+mysys
问题:gdb调试遇到问题,用的是7.5的版本,编译的时候支持./configure,make,make install,没加参数
调试的时候进行如下设置
set target-async 1
set pagination off
set non-stop on
run的时候提示:The target does not support running in non-stop mode.
请问各位前辈,gdb7.5怎么会不支持non-stop模式,网上帖子说7.0以上就支持,
gdb编译的时候是否要进行设置,才能支持支持non-stop模式。
问题:gdb调试遇到问题,用的是7.5的版本,编译的时候支持./configure,make,make install,没加参数
调试的时候进行如下设置
set target-async 1
set pagination off
set non-stop on
run的时候提示:The target does not support running in non-stop mode.
请问各位前辈,gdb7.5怎么会不支持non-stop模式,网上帖子说7.0以上就支持,
gdb编译的时候是否要进行设置,才能支持支持non-stop模式。
...全文
相关推荐
linux gdb调试命令.pdf
- GDB版本7.0以前,调试一个线程时其他线程都会停止;7.0之后的版本支持线程non-stop模式,允许其他线程在调试一个线程时继续运行。
多线程调试方法.pdf
然而,自GDB v7.0起,引入了非停止模式,它允许程序员在多线程环境中更自由地控制各个线程的状态。
gdb使用技巧
**命令行选项的格式** - 使用`help`命令可以查看gdb支持的命令行选项。2. **支持预处理器宏信息** - 使用`set preprocessor on`命令可以开启对预处理器宏的支持。
GDB速查手册GDBrefvim.txt
5. **使用`backtrace`**:熟悉如何使用`backtrace`命令来查看调用堆栈。6. **利用`info`命令**:掌握`info`命令来获取调试信息。7.
2009-GCC-Summit-Proceedings
**调试配置:** Eclipse与GDB结合使用时,可以设置复杂的调试配置,支持各种高级调试功能。7.


