From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: GUD tooltip display Date: Wed, 28 Dec 2005 22:51:09 +0200 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1135803093 10542 80.91.229.2 (28 Dec 2005 20:51:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2005 20:51:33 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 21:51:29 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EriGa-0002Xm-LY for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 21:51:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EriHu-0003DD-Ic for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2005 15:52:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EriHk-0003Cq-W2 for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:52:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EriHj-0003Ce-IK for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:52:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EriHj-0003Cb-BN for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:52:35 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EriHx-0008Gq-GB for emacs-devel@gnu.org; Wed, 28 Dec 2005 15:52:49 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-85-164.inter.net.il [80.230.85.164]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CHS25881 (AUTH halo1); Wed, 28 Dec 2005 22:51:10 +0200 (IST) Original-To: emacs-devel@gnu.org 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:48454 Archived-At: Could gdb-ui.el be extended to display class members in a tooltip? Currently, when the mouse pointer is above a class name, the tooltip says something like "(Class foo *) 0x12345678". Could it instead display the result of "ptype foo" or "ptype *foo? It seems like other visual debuggers do that. Also, for simple scalar variables, the tooltip says "$1 = 12345". Isn't it better to say "foo = 12345" (where `foo' is the variable's name)? Convenience variables such as $1 are for GDB command-line junkies, visually oriented (and command-line challenged) users might become confused by the $1 thingy; OTOH, displaying the variable's name could help if, e.g., the pointer is on the wrong token, or if the expression under the pointer is not well defined or obvious. WDYT?