From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9260 invoked by alias); 13 Jul 2009 19:30:56 -0000 Received: (qmail 9251 invoked by uid 22791); 13 Jul 2009 19:30:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jul 2009 19:30:48 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n6DJUPqE009136; Mon, 13 Jul 2009 21:30:25 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n6DJUPGL022811; Mon, 13 Jul 2009 21:30:25 +0200 (CEST) Date: Mon, 13 Jul 2009 19:42:00 -0000 Message-Id: <200907131930.n6DJUPGL022811@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: uweigand@de.ibm.com CC: jan.kratochvil@redhat.com, drow@false.org, tromey@redhat.com, gdb-patches@sourceware.org In-reply-to: <200907131708.n6DH896H016447@d12av02.megacenter.de.ibm.com> (uweigand@de.ibm.com) Subject: Re: [patch] Fix i386 memory-by-register access on amd64 References: <200907131708.n6DH896H016447@d12av02.megacenter.de.ibm.com> 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: 2009-07/txt/msg00367.txt.bz2 > Date: Mon, 13 Jul 2009 19:08:09 +0200 (CEST) > From: "Ulrich Weigand" > > Jan Kratochvil wrote: > > > Therefore fixed linux_xfer_partial. Therefore it no longer needs > > the fix to be present also in inf_ptrace_xfer_partial. I do not > > know how non-Linux OSes handle the debugging of 32bit inferior on > > 64bit GDB so I have no opinion whether the inf_ptrace_xfer_partial > > patch makes sense, i can drop it. > > I think at this point it would probably be better to just to the Linux fix. > I've looked at a couple of ptrace implementations in the Linux kernel, and > it seems this fix should be correct on all bi-arch Linux platforms. > > I simply do not know enough how ptrace behaves on other OSes -- until we > get a specific bug report on some other OS, I think we should leave the > behaviour unchanged for now. I agree.