From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17867 invoked by alias); 31 Jan 2007 15:35:32 -0000 Received: (qmail 17850 invoked by uid 22791); 31 Jan 2007 15:35:31 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 Jan 2007 15:35:25 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 8516B2158F for ; Wed, 31 Jan 2007 16:35:23 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: Testsuite failures in gdb.base/callfuncs.exp References: <20070131124926.GA18380@nevyn.them.org> <20070131141530.GA22362@nevyn.them.org> <20070131151001.GA25714@nevyn.them.org> X-Yow: ...Just enough time to do my LIBERACE impression... Date: Wed, 31 Jan 2007 15:35:00 -0000 In-Reply-To: <20070131151001.GA25714@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 31 Jan 2007 10:10:01 -0500") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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-01/txt/msg00611.txt.bz2 Daniel Jacobowitz writes: > On Wed, Jan 31, 2007 at 03:56:57PM +0100, Andreas Schwab wrote: >> Daniel Jacobowitz writes: >> >> > On Wed, Jan 31, 2007 at 02:56:16PM +0100, Andreas Schwab wrote: >> >> bsp can only be modified by writing to bspstore, which is what the kernel >> >> does behind our back. gdb itself never writes to bspstore. Thus the >> >> value of bspstore does not really matter. >> > >> > Could we restore it if we tried? >> >> Why would we want to? > > I don't know. To leave the inferior's state as untouched as possible > after an artificial function call. We already do that by writing to bsp, which by side effect restores the state of the RSE as much as possible. The RSE is running in background in a way that cannot really be controlled by user level anyway. > If you're convinced that's not useful, patch is OK. Thanks. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."