让gdb使用emacs 24 [英] Getting gdb to work with emacs 24
问题描述
在与问题相关的许多头痛之后实现 gdb
似乎在 emacs中断了24
所以我已经切换到 gud-gdb
但是我现在注意到非常方便的红点在$ code> gud-gdb
But I now notice that the very handy red dots on break points don't seem to work in gud-gdb
有没有人有一个确定的答案如何可以使用 emacs 24
来明智地调试C代码?
Does anyone have a definitive answer on how to be able to sensibly debug C code using emacs 24
?
我从来没有在 emacs 23
但 24
已经引起我各种麻烦..
I never had any problems in emacs 23
but 24
has caused me all sorts of bother..
也许我应该切换回 emacs 23
,但这似乎有点回归?
Maybe I should switch back to emacs 23
but this seems a little regressive?
新方法是否使用code> gdb-mi 在某种程度上
Is the new method to use gdb-mi
in some way?
将非常有兴趣了解最佳做法是关于 emacs 24
- haven'在interwebs上找不到任何相关的( emacs 24
)教程
Would be very interested to learn what best-practice is with respect to emacs 24
- haven't been able to find any relevant (emacs 24
specific) tutorials on the interwebs
推荐答案
gdb在GNU Emacs 24.3.1上开箱即用。
gdb is working for me out of box on GNU Emacs 24.3.1.
如果仍然无法使用,请尝试使用命令:
If it still doesn't work for you, please try to use command:
gdb --fullname binary_name
默认值为
insead of default
gdb -i=mi binary_name
这篇关于让gdb使用emacs 24的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!