[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to debug assemly

From: aprekates
Subject: Re: Trying to debug assemly
Date: Thu, 19 Dec 2019 03:18:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0

|||I've learned about three ways to initiate a debugging session in  emacs with gdb.|

||a.  M-x gud-gdb||

|||b.  M-x gdb|

|c.  M-x gdb  --interpreter=mi

|Does option a. uses GDB/MI interface?|




On 19/12/19 2:38 π.μ., aprekates wrote:


So if i want to debug in emacs with gdb and have ide like functionality , giving me the ability to create breakpoint by clicking next to source lines or windows with updates on variables, registers , memory region etc then gdb must be able ta accept 'machine' like commands from the emacs gdb frontent.



On 18/12/19 10:39 π.μ., wrote:
On Wed, Dec 18, 2019 at 04:30:38AM +0200, aprekates wrote:

That worked. Although i dont quite understand what is the /GDB/MI
GDB/MI is the so-called "machine interface". Back Then (TM), GDB was
just an interactive program: you type in things, GDB displays things
to you. With time, more-or-less graphical front ends appeared (among
them, of course, something written in Emacs). It became clear that
the interactive user interface wasn't the ideal way for a program to
control GDB, and thus MI was born.

-- t

reply via email to

[Prev in Thread] Current Thread [Next in Thread]