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: Could the new gud changes move to a branch? Date: Fri, 9 Apr 2004 10:31:09 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16502.27997.743119.295324@nick.uklinux.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1081503245 20160 80.91.224.253 (9 Apr 2004 09:34:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Apr 2004 09:34:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 09 11:33:56 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BBsOa-0004NA-00 for ; Fri, 09 Apr 2004 11:33:56 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BBsOZ-0001gC-00 for ; Fri, 09 Apr 2004 11:33:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BBsMv-0005yH-C2 for emacs-devel@quimby.gnus.org; Fri, 09 Apr 2004 05:32:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BBsMh-0005sd-Im for emacs-devel@gnu.org; Fri, 09 Apr 2004 05:31:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BBsMA-0005ha-3m for emacs-devel@gnu.org; Fri, 09 Apr 2004 05:31:58 -0400 Original-Received: from [194.247.50.80] (helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BBsM8-0005gd-Vf; Fri, 09 Apr 2004 05:31:25 -0400 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id DAB9B75FDE; Fri, 9 Apr 2004 10:31:10 +0100 (BST) Original-To: John Wiegley In-Reply-To: X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21393 > I appreciate whoever is trying to make gud smarter, but unfortunately > is stumbling over its own feet far too often. It has nearly rendered > debugging from within Emacs impossible. Are things better or worse after the changes (2004-04-08) that I've just made? I've removed some constraints for buffer display but maybe there is too much freedom now. > It is much slower to get started. It creates three windows, but > expects a certain arrangement, so that every once in a while when I > hit my breakpoint I am left with only the source window -- and must > hit C-x C-b to get back to the *gud* window. I don't why its slower unless you are starting with a large disassembly view. What are the three windows? > I really like the new disassembly view,... I've included this as other debuggers have it but I don't use it myself> What is it useful for? > ...but at one point I got myself > into a situation where I simply could not switch my buffer away from > it. It seemed to take over my minibuffer or something, and I had to > kill the process and restart it. > > And lastly it seems that if the input/output window goes away (from > hitting C-x 1), and then I switch to the *gud* window and hit "up" or > "down", that it redisplays my frame so that only the source window and > the input/output window are displayed. I have to keep switching to > the *gud* buffer. > > Anyway, it has felt very complicated, and I used to be such a fan of > debugging with gdb under Emacs. So could we go back to the old, > simple way until things settle down and the new code is better tested > by the author? The idea behind making "gdb --annotate=3" the default was to get feedback from others. Testing it all myself seems a rather sterile approach. To get the old, simple way all you need to do is set gud-gdb-command-name to "gdb --fullname" using customise. I've tried quite hard to keep the old functionality there. Creating a branch for one elisp file doesn't seem realistic. The (last?) remaining problem for GDB-UI seems to be buffer display and this should be resolved by the time Emacs is released from trunk. If not, then it will be quite straightforward to reset the default. In the meantime I would like to keep it as it is to encourage its use in what, after all, is an experimental version of Emacs. > I think I will start using 21.3 for my debugging. For debugging emacs in CVS that seems a good idea, in any case. Nick