emacsの下でC++をデバッグする際に問題が発生しています。私は、デバッグコマンド開始すると:emacsのデバッグで問題が発生しました
M-Xgdb --annotate=3 myprogram
をgdbのシェルはプロンプトを表示しません。代わりに、(gdb) Current directory is ~/programs/small/
が下に貼り付けられて表示された後にスタックしました。デバッグコマンドを入力することはできませんが、ステータスバーにエラーメッセージは表示されません。どのように体はそれを修正する方法を知っていますか?ありがとうございました!
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/chzhang/programs/small/loop...done.
(gdb) Current directory is ~/programs/small/
うわー、 "INPUTRC = emacs"が修正されました!あなたは、 '='記号の後ろにスペースが必要で、後ろに「&」記号が必要ないことを指摘したいかもしれません。 – Daniel