From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19548 invoked by alias); 31 Jul 2007 11:06:47 -0000 Received: (qmail 19537 invoked by uid 22791); 31 Jul 2007 11:06:47 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 11:06:45 +0000 Received: from kahikatea.snap.net.nz (73.63.255.123.dynamic.snap.net.nz [123.255.63.73]) by viper.snap.net.nz (Postfix) with ESMTP id 8B55F3DA071; Tue, 31 Jul 2007 23:06:41 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 1A4D08FC6D; Tue, 31 Jul 2007 23:06:35 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18095.6073.768333.101235@kahikatea.snap.net.nz> Date: Tue, 31 Jul 2007 11:25:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: Type information in -data-evaluate-expression In-Reply-To: References: <200707301540.59361.apoenitz@trolltech.com> <18095.3821.812493.749018@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.1.50.3 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00330.txt.bz2 > > > So this really does not hurt. I can even call > > > -data-evaluate-expression abort() directly and am still able to > > > continue debugging. > > > > I guess other unpleasant things could happen, like variables changing > > value. > > So what are you proposing? Variable tooltips is something users like. I don't think they like variables to change value when they move the mouse around e.g. #define ADD4 addtox (4) int x = 1; void addtox (int i) { x = x + i; } adds 4 to x every time the mouse lingers over ADD4. It's a contrived example but there are probably more realistic scenarios. In Emacs, I don't compute the tooltip if the macro expands to a function. -- Nick http://www.inet.net.nz/~nickrob