[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running gdb in emacs.
From: |
aprekates |
Subject: |
Running gdb in emacs. |
Date: |
Thu, 16 Jan 2020 11:27:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 |
Hi.
I found those two basic ways to start gdb in emacs:
1. M-x gdb
2. M-x gud-gdb
In the first case i pass the --interpreter=mi option to enable the
gdb-mi and i can use various other windows like stackframes, registers ,
output etc.
In the second case i have only the source and a gdb window in user
interface. If i give --interpreter=mi after M-x gud-gdb i get only a
gdb windows which seems to work in machine mode.
So i dont understand what is the proposed use case of using M-x gud-gdb
since it seems it offers a basic debugging enviroment.
Also M-x gdb does it use GUD?
Alexandros
- Running gdb in emacs.,
aprekates <=