all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GUD GDB integration
@ 2018-05-23  8:23 Juan Rafael García Blanco
  2018-05-23 15:46 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Juan Rafael García Blanco @ 2018-05-23  8:23 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

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.

______________________




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-24 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-23  8:23 GUD GDB integration Juan Rafael García Blanco
2018-05-23 15:46 ` Eli Zaretskii
2018-05-24  6:05   ` Juan Rafael García Blanco
2018-05-24 15:16     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.