From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19455 invoked by alias); 30 Jan 2008 07:14:50 -0000 Received: (qmail 19443 invoked by uid 22791); 30 Jan 2008 07:14:49 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jan 2008 07:14:32 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1JK79M-0004ui-6i for gdb-patches@sources.redhat.com; Wed, 30 Jan 2008 10:14:29 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1JK79E-0004uN-5I; Wed, 30 Jan 2008 10:14:16 +0300 From: Vladimir Prus Subject: Re: [PATCH: mi-cmd-file.c] To: Nick Roberts , gdb-patches@sources.redhat.com Date: Wed, 30 Jan 2008 07:19:00 -0000 References: <18309.37153.798074.919481@kahikatea.snap.net.nz> <18335.61046.331600.553026@kahikatea.snap.net.nz> User-Agent: KNode/0.10.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: 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: 2008-01/txt/msg00769.txt.bz2 Nick Roberts wrote: > > > Actually Emacs turns tooltips off if there is no macro information in > > > case of something like: > > > > > > #define STOP abort () > > > > > > and the mouse hovers over STOP. Macro information allows Emacs to > > > ensure that a macro doesn't expand to a function first. > > > > Hmm, that sounds silly. If there's no macro information, GDB won't be > > able to expand STOP to a function... > > Yes, what I've said is silly, but hopefully what I've done isn't. When > running in the old mode, as for Emacs 21, Emacs can't tell if the macro > expands to a > function, so turns off tooltips. In the new mode, it checks to see if the > macro expands to a function and if so, doesn't try to print its value > (which would call abort () in this case). I seems like this patch was checked in, and I see the following: FAIL: gdb.mi/mi-file.exp: request path info of current source file (basics.c) and same for mi2-file.exp. Did you forgot to run testsuite, or forgot to commit testsuite change? - Volodya