From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10468 invoked by alias); 30 Jan 2008 18:50:45 -0000 Received: (qmail 10460 invoked by uid 22791); 30 Jan 2008 18:50:45 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jan 2008 18:50:28 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 49C532A980E for ; Wed, 30 Jan 2008 13:50:26 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ivZuF5kihYrg for ; Wed, 30 Jan 2008 13:50:26 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DD1E42A980B for ; Wed, 30 Jan 2008 13:50:25 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id C37EBE7ACB; Wed, 30 Jan 2008 10:50:23 -0800 (PST) Date: Wed, 30 Jan 2008 19:01:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFA] fix "ptype $pc" internal-error Message-ID: <20080130185023.GB12387@adacore.com> References: <20080104094316.GO2179@adacore.com> <20080104104943.GA5975@adacore.com> <20080129174536.GD3773@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080129174536.GD3773@caradoc.them.org> User-Agent: Mutt/1.4.2.2i 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/msg00819.txt.bz2 > > 2008-01-04 Joel Brobecker > > > > * eval.c (evaluate_subexp_standard): Add handling of user > > registers when in EVAL_AVOID_SIDE_EFFECTS mode. > > OK. Thanks. I checked it in. > > 2008-01-04 Joel Brobecker > > > > * gdb.base/ptype.exp: Add testing of "ptype $pc". > > Might want to loosen the expected type; I don't think every platform > returns a function type for PC. > > Then again, might not want to - everyone should do so :-) :). I checked the test as-is, Mark agreed that it was better this way. -- Joel