Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756479AbaD3FKq (ORCPT ); Wed, 30 Apr 2014 01:10:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:45635 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753142AbaD3FKk (ORCPT ); Wed, 30 Apr 2014 01:10:40 -0400 Message-ID: <536085B7.5070002@zytor.com> Date: Tue, 29 Apr 2014 22:10:15 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Andrew Pinski CC: Hui Zhu , Thomas Gleixner , Ingo Molnar , x86@kernel.org, eparis@redhat.com, Andi Kleen , "linux-kernel@vger.kernel.org" , "gdb@sourceware.org" Subject: Re: [PATCH] Fix get ERESTARTSYS with m32 in x86_64 when debug by GDB References: <53554846.3070608@zytor.com> <53608125.2020103@zytor.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/29/2014 10:08 PM, Andrew Pinski wrote: > > restoring the values is hard since even the ptrace interface does not > allow for that. > So that begs the ultimate question, which is: given the fact that there is *state missing* from the state vector (this is the core of the problem), is there a way we can add that state so that gdb will be able to save and restore it? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/