From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15912 invoked by alias); 4 May 2006 09:43:28 -0000 Received: (qmail 15904 invoked by uid 22791); 4 May 2006 09:43:28 -0000 X-Spam-Check-By: sourceware.org Received: from fra-del-04.spheriq.net (HELO fra-del-04.spheriq.net) (195.46.51.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 May 2006 09:43:26 +0000 Received: from fra-out-03.spheriq.net (fra-out-03.spheriq.net [195.46.51.131]) by fra-del-04.spheriq.net with ESMTP id k449gfeh008309 for ; Thu, 4 May 2006 09:42:41 GMT Received: from fra-cus-02.spheriq.net (fra-cus-02.spheriq.net [195.46.51.38]) by fra-out-03.spheriq.net with ESMTP id k449geaK019687 for ; Thu, 4 May 2006 09:42:40 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by fra-cus-02.spheriq.net with ESMTP id k449gdH8005935 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Thu, 4 May 2006 09:42:40 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F346EDA41 for ; Thu, 4 May 2006 09:42:38 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5814D47565 for ; Thu, 4 May 2006 09:42:38 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CHM53054 (AUTH stubbsa); Thu, 4 May 2006 10:42:35 +0100 (BST) Message-ID: <4459CBEF.1020808@st.com> Date: Thu, 04 May 2006 09:43:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: GDB Patches Subject: Re: [PATCH] Allow writing to registers before the program starts References: <4458B803.5050506@st.com> <20060503143952.GA5965@nevyn.them.org> In-Reply-To: <20060503143952.GA5965@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00039.txt.bz2 Daniel Jacobowitz wrote: > No, this patch is incorrect. I don't recall exactly why, but I think > it will mess up writing to the saved registers after using "up". > I happen to know the actual cause of the problem you're trying to > fix; there's a nasty hack in CodeSourcery's branch to fix it, but > the real fix is more work than I've had time for yet. It's a > representation problem. OK, sorry. When I look at it more closely the patch doesn't do quite what I thought it did anyway. This is all much more hideous than I had thought. I don't have either the time or the knowledge to fix the problem properly. Thanks for the hack - I'll just use that locally for the time-being. Thanks Andrew