emacs中使用gdb

M-x gdbemacs

runio

break xxxfunction

continuenext

step (step in the function)gdb

next (step over the function)db

where (check the stack)co

list xxx

在emacs中使用gdb好好处是break时能够再emacs的另外一个窗口中显示目前的代码。

(To be coninued ...)

相关文章
相关标签/搜索