From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Emacs mode for GDB Date: 21 May 2002 15:26:23 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <15593.31861.28483.21373@nick.uklinux.net> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021962431 10651 127.0.0.1 (21 May 2002 06:27:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 May 2002 06:27:11 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17A371-0002lg-00 for ; Tue, 21 May 2002 08:27:11 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17A3LI-0004tu-00 for ; Tue, 21 May 2002 08:41:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17A377-0007Pi-00; Tue, 21 May 2002 02:27:17 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.214]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17A36i-0007Kg-00; Tue, 21 May 2002 02:26:53 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g4L6QaV08081; Tue, 21 May 2002 15:26:36 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g4L6QZL10517; Tue, 21 May 2002 15:26:35 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g4L6QW810593; Tue, 21 May 2002 15:26:34 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g4L6QSK02551; Tue, 21 May 2002 15:26:28 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id CAB743722; Tue, 21 May 2002 15:26:23 +0900 (JST) Original-To: Nick Roberts System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <15593.31861.28483.21373@nick.uklinux.net> Original-Lines: 36 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4227 I tried your mode, and it seems generally like a nice idea. Some comments: (1) I get the following error regularly: error in process filter: gdb-output-burst: Symbol's function definition is void: gdb-display-end error in process filter: Symbol's function definition is void: gdb-display-end Indeed there seems to be no such function `gdb-display-end'. (2) Completion doesn't work on the gdb command line like it does in the standard gdb-mode. (3) The file `gdb.el' is apparently constructed in large parts from the existing `gud.el', with much of the functionality of gud removed (in particular, support for non-gdb debuggers). Is that necessary? If emacs were to use your gdb.el unchanged, it would result in a huge amount of duplicated code between gdb.el and gud.el; it would be nicer to either continue to use gud.el, with new features added, or otherwise avoid code duplication. (4) With all the windows displayed, it requires a lot of space. It would be nice to have some way of specifying which windows get used -- for instance, the breakpoint window can be displayed only if there are breakpoints, and when tested it, I didn't need the backtrace, or I/O windows either, so I'd like to be able to disable them. (5) You should keep the historical author information in the file header comment. -Miles -- `Life is a boundless sea of bitterness'