From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Emacs mode for GDB - questions Date: Fri, 20 Sep 2002 21:35:27 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <15755.34447.464029.448384@nick.uklinux.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1032554672 7569 127.0.0.1 (20 Sep 2002 20:44:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2002 20:44:32 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17sUdb-0001xx-00 for ; Fri, 20 Sep 2002 22:44:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17sVJ2-0007CY-00 for ; Fri, 20 Sep 2002 23:27:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sUdz-00064y-00; Fri, 20 Sep 2002 16:44:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sUX4-0004hU-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 16:37:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sUWy-0004fJ-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 16:37:45 -0400 Original-Received: from bts-0149.dialup.zetnet.co.uk ([194.247.48.149] helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sUWx-0004f9-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 16:37:39 -0400 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id 25A6A76037; Fri, 20 Sep 2002 21:35:27 +0100 (BST) Original-To: emacs-devel@gnu.org X-Mailer: VM 6.97 under Emacs 21.1.1 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8050 I have updated the mode that I am writing for Emacs. (http://www.nick.uklinux.net/gdbel-0.7.tgz). It acts as a GUI for gdb and I have reported it previously on this mailing list. The main feature that I have added is machine code level debugging. Breakpoints can be set at addresses and icons are displayed. The relevant buffer follows the frame but there is no overlay arrow to point to the current line as emacs can only have one overlay arrow and that is used by the source buffer. I have the following questions : 1) I don't know if this is an important feature now that compilers are much more efficient. Do people debug at this level in an Emacs environment ? 2) Is it possible to change Emacs to have more than one overlay arrow (buffer-local) ? Would this be difficult ? 3) If only one overlay arrow is possible, would the display margin be a good place to mark the current line ? Nick