From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Albert Veli Newsgroups: gmane.emacs.devel Subject: Suggestion for gdb-ui.el Date: Tue, 31 May 2005 12:13:22 +0200 Message-ID: <1117534403.15206.4.camel@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1117534520 331 80.91.229.2 (31 May 2005 10:15:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 10:15:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 31 12:15:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd3lk-0000Pr-HT for ged-emacs-devel@m.gmane.org; Tue, 31 May 2005 12:14:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dd3qo-0007F6-D0 for ged-emacs-devel@m.gmane.org; Tue, 31 May 2005 06:19:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dd3qE-0007ER-CG for emacs-devel@gnu.org; Tue, 31 May 2005 06:19:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dd3qB-0007DL-Ii for emacs-devel@gnu.org; Tue, 31 May 2005 06:19:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dd3qA-0007CB-Ve for emacs-devel@gnu.org; Tue, 31 May 2005 06:19:19 -0400 Original-Received: from [80.252.161.130] (helo=biosensor01.BIOSENS.LOCAL) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dd3mB-0004ei-Uh for emacs-devel@gnu.org; Tue, 31 May 2005 06:15:12 -0400 Original-Received: from 192.168.60.1 ([192.168.60.1]) by biosensor01.BIOSENS.LOCAL ([192.168.60.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 31 May 2005 10:13:16 +0000 Original-Received: from ubuntu01 by webmail.biosensor.se; 31 May 2005 10:13:23 +0000 Original-To: emacs-devel@gnu.org X-Mailer: Evolution 2.2.1.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37939 Dear emacs-devel, I recently upgraded from emacs 21.4 to the CVS version (after reading this gdb-ui article, http://www.linuxjournal.com/article/7876 ). Gdb-ui is really a facelift. Below is a couple of suggestions I thought of while trying it out with some inline asm. My inline asm uses the SSE floating point registers xmm0-xmm7. Space toggles between "info registers" and "info all-registers" mode in the *registers* buffer (M-x gdb-display-registers-buffer). When all registers are shown they dont fit in the *registers* buffer so I scroll down a bit to the xmm registers. But after each stepi (step one instruction) the *registers* buffer scrolls back to the Top again. * Suggestion: Update lisp/progmodes/gdb-ui.el so the *registers* buffer somehow remembers the line number and scrolls back to the same line after updating the registers. It would also be nice if the changed registers would be highlighted somehow (I noticed it's on the TODO list in gdb-ui.el). * Small bug: It is not possible to click two times on the same icon in the gdb-ui toolbar (for instance next or stepi) without first moving the mouse cursor outside the icon. Emacs was configured with --with-gtk and I dont know if the bug exists with other toolkits. I tried it on both Debian/Sarge (XFree86 4.3.0) and on Ubuntu/Hoary (X.org 6.8.2). They both have the same GTK+ version (2.6.4). Otherwise I think gdb-ui is great and I have not started DDD a single time after installing the CVS version of emacs! Regards, Albert