gdb在emacs在Windows上 [英] gdb within emacs on Windows
问题描述
我在Windows中运行Emacs 22.3。今天早些时候我有gdb在Emacs工作正常。我正在安装QT4,在安装过程中,它要求我卸载MSYS,我迅速点击通过不考虑事情。我想我有gdb安装了MSYS包和Emacs使用,但我不完全确定。现在当我运行下面的时候,我在迷你缓冲区中得到一个错误。
I'm running Emacs 22.3 in Windows. Earlier today I had gdb working within Emacs just fine. I was installing QT4 and during the installation it asked me to uninstall MSYS which I quickly clicked through not thinking about things. I think I had gdb installed with the MSYS package and Emacs was using that, but I'm not completely sure. Now when I run the following I get an error in the mini-buffer.
M-x gdb
"Searching for program: no such file or directory, gdb"
我试图添加路径 C:\cygwin\bin
到这个代码的Emacs加载路径,但我仍然得到相同的错误。
I tried to add the path "C:\cygwin\bin
" to the Emacs load-path with this code but I still get the same error.
(message "Adding cygwin/bin to load path.")
(add-to-list 'load-path "c:/cygwin/bin")
有人能告诉我我做错了什么?
谢谢。
Could someone tell me what I'm doing wrong?
Thanks.
推荐答案
可能会调整您的系统路径以指向安装gdb的位置。
probably adjust your system path to point it where you have gdb installed.
这篇关于gdb在emacs在Windows上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!