如何将GDB调试器安装到Eclipse CDT [英] How to install GDB debugger to Eclipse CDT

查看:113
本文介绍了如何将GDB调试器安装到Eclipse CDT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用集成工具来开发C ++,而不是将Eclipse仅用作编辑器并在其他环境中进行编译。我的eclipse CDT工具默认没有GDB调试环境,任何机构都可以提供一些有关如何将gdb安装到Eclipse CDT的提示吗?

I want to use Integrated Tool to develop C++, not to use Eclipse as only the editor and compile in other environment. my eclipse CDT tool as default is without GDB debugging environment, can any body give some hints on how to install gdb to Eclipse CDT?

推荐答案

对于Windows-您可以在此处 MinGW中找到准备使用的gdb.exe- Sourceforge.net上的Windows GNU极简版。获取gdb-7.0-2-mingw32-bin.tar.gz。

For Windows - You can find "ready to use" gdb.exe here MinGW - Minimalist GNU for Windows at Sourceforge.net. Get gdb-7.0-2-mingw32-bin.tar.gz.

只需安装到MinGW目录中,并在 Run-> Debug下设置gdb.exe的路径Configurations-> Debugger

Just install into MinGW directory and set path to gdb.exe under Run->Debug Configurations->Debugger.

2012年5月最新- MinGW-Windows的极简GNU -gdb-7.4-2-mingw32-bin.tar.lzma

The latest on 05.2012 - MinGW - Minimalist GNU for Windows - gdb-7.4-2-mingw32-bin.tar.lzma

这篇关于如何将GDB调试器安装到Eclipse CDT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆