From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?iso-8859-1?Q?Juan_Rafael_Garc=EDa_Blanco?= Newsgroups: gmane.emacs.help Subject: GUD GDB integration Date: Wed, 23 May 2018 08:23:04 +0000 Message-ID: <961A8B2D633A304F92BD712DF06B04DFB227E868@PTMMAILBOX2.gmv.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527084704 8906 195.159.176.226 (23 May 2018 14:11:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 May 2018 14:11:44 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 23 16:11:40 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLUUN-0002EK-Ib for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2018 16:11:39 +0200 Original-Received: from localhost ([::1]:33673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLUWU-0008GY-PT for geh-help-gnu-emacs@m.gmane.org; Wed, 23 May 2018 10:13:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLP3H-0000lZ-3g for help-gnu-emacs@gnu.org; Wed, 23 May 2018 04:23:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLP3D-0000oY-TI for help-gnu-emacs@gnu.org; Wed, 23 May 2018 04:23:19 -0400 Original-Received: from mx11.gmv.com ([212.0.110.29]:33904 helo=mx11.gmv.es) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLP3D-0000lG-Hk for help-gnu-emacs@gnu.org; Wed, 23 May 2018 04:23:15 -0400 Original-Received: HReceived: from filter2.gmv.es (caronte.gmv.es [212.0.110.2]) by mx11.gmv.es with id w4N8N5xM029124 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 23 May 2018 10:23:05 +0200 Original-Received: from pps.filterd (filter2.gmv.es [127.0.0.1]) by filter2.gmv.es (8.16.0.22/8.16.0.22) with SMTP id w4N8N5aw020771 for ; Wed, 23 May 2018 10:23:05 +0200 Original-Received: from ptmcas3.gmv.es (smtpfilter.gmv.es [172.18.18.64]) by filter2.gmv.es with ESMTP id 2j2cn6j579-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 23 May 2018 10:23:05 +0200 Thread-Topic: GUD GDB integration Thread-Index: AdPybd861aGt/pzxQxGiO2JwhWn1rw== Accept-Language: en-US, es-ES Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-kse-attachmentfiltering-interceptor-info: protection disabled x-kse-serverinfo: PTMCAS3.gmv.es, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 22/05/2018 20:36:00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-05-23_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=981 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805230083 X-Scanned-By: MIMEDefang 2.80 on 212.0.110.29 X-KLMS-Rule-ID: 3 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: not scanned, disabled by settings X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2018/05/23 03:14:00 #8468143 X-KLMS-AntiVirus-Status: Clean, skipped X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.0.110.29 X-Mailman-Approved-At: Wed, 23 May 2018 10:13:26 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116842 Archived-At: 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 und= erstand interaction is accomplished by parsing gdb's output. Could you plea= se 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 compatibili= ty (scripting was introduced in gdb 7.0). I guess it is simpler and maybe e= ven faster to parse gdb's output than to setup some kind of client-server a= rchitecture to receive notifications from gdb event handlers. The context for this question is that I'm writing a gdb client, not for ema= cs, 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=20 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=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.=20 Gracias por su colaboracion. ______________________