From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11019 invoked by alias); 7 Jul 2009 18:22:24 -0000 Received: (qmail 11009 invoked by uid 22791); 7 Jul 2009 18:22:24 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 18:22:17 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n67IMDpH019523; Tue, 7 Jul 2009 14:22:13 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n67IMBJJ015638; Tue, 7 Jul 2009 14:22:12 -0400 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n67IM9ta023299; Tue, 7 Jul 2009 14:22:11 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n67IM8PV026141; Tue, 7 Jul 2009 20:22:09 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n67IM4QW026124; Tue, 7 Jul 2009 20:22:04 +0200 Date: Tue, 07 Jul 2009 18:22:00 -0000 From: Jan Kratochvil To: Mark Kettenis Cc: uweigand@de.ibm.com, drow@false.org, tromey@redhat.com, gdb-patches@sourceware.org Subject: Re: [patch] Fix i386 memory-by-register access on amd64 Message-ID: <20090707182203.GA24153@host0.dyn.jankratochvil.net> References: <200907071624.n67GO6bj015890@d12av02.megacenter.de.ibm.com> <200907071759.n67HxhcF026713@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200907071759.n67HxhcF026713@brahms.sibelius.xs4all.nl> User-Agent: Mutt/1.5.19 (2009-01-05) 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: 2009-07/txt/msg00209.txt.bz2 On Tue, 07 Jul 2009 19:59:43 +0200, Mark Kettenis wrote: > But then I don't understand Jan's diff at all. Linux has its own > implementation for TARGET_OBJECT_MEMORY in linux-nat.c. Why isn't > that one used? Expecting the same problem must affect even non-Linux ptrace usage. I will move it to linux-nat.c if you think so. Thanks, Jan