获取GDB使用Emacs 24工作 [英] Getting gdb to work with emacs 24

查看:116
本文介绍了获取GDB使用Emacs 24工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

href=\"http://stackoverflow.com/questions/20633968/cannot-access-memory-at-address-function-parameter-passing-isssue\">question该 GDB 似乎被打破emacs的24

Realised after much head-scratching in relation to this question that gdb seems to be broken in emacs 24

所以我切换到 GUD-GDB

但现在我发现,似乎对破发点非常方便的红点不上班 GUD-GDB

But I now notice that the very handy red dots on break points don't seem to work in gud-gdb

有没有人对如何才能够合理使用调试C code一个明确的答案 emacs的24

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?

时的新方法以某种方式使用 GDB-MI

Is the new method to use gdb-mi in some way?

会非常有兴趣学习的最佳实践是相对于 emacs的24 - 一直没能找到任何相关的(的emacs 24 专用)上interwebs教程

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

insead of default

gdb -i=mi binary_name

这篇关于获取GDB使用Emacs 24工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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