help-gnu-emacs
[Top][All Lists]
Advanced

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

GUD GDB integration


From: Juan Rafael García Blanco
Subject: GUD GDB integration
Date: Wed, 23 May 2018 08:23:04 +0000

Hi all,

I wanted to know how gud and gdb interact, i.e. by parsing gdb's output or 
using gdb's built-in scripting engine. I have gone through gud.el and I 
understand interaction is accomplished by parsing gdb's output. Could you 
please confirm my understanding?
If so, why is this approach better than writing event handlers using gdb's 
scheme interpreter? My first guess is because of simplicity and compatibility 
(scripting was introduced in gdb 7.0). I guess it is simpler and maybe even 
faster to parse gdb's output than to setup some kind of client-server 
architecture to receive notifications from gdb event handlers.

The context for this question is that I'm writing a gdb client, not for emacs, 
that somehow resembles what gud does. So I wanted to know what gud does because 
it is widely used and it is known to work.

Any comment would be very much appreciated.

Thank you very much,
Juan.

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________




reply via email to

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