From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32749 invoked by alias); 4 Apr 2002 16:51:16 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 32721 invoked from network); 4 Apr 2002 16:51:13 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 4 Apr 2002 16:51:13 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 0CA7B1E78C for ; Thu, 4 Apr 2002 18:51:13 +0200 (MEST) Received: from aj by arthur.inka.de with local (Exim 3.34 #1) id 16tAQI-0003ob-00 for gdb-patches@sources.redhat.com; Thu, 04 Apr 2002 18:49:18 +0200 To: gdb-patches@sources.redhat.com Subject: Re: [patch] x86-64 ptrace() ABI change sync References: <3CAC5172.6040301@suse.cz> <20020404113912.B31160@nevyn.them.org> From: Andreas Jaeger Date: Thu, 04 Apr 2002 08:51:00 -0000 In-Reply-To: <20020404113912.B31160@nevyn.them.org> (Daniel Jacobowitz's message of "Thu, 4 Apr 2002 11:39:12 -0500") Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00113.txt.bz2 Daniel Jacobowitz writes: > On Thu, Apr 04, 2002 at 03:13:22PM +0200, Michal Ludvig wrote: >> Hi all, >> I've committed this obvious patch which synces gdb with changed glibc to >> both mainline and 5.2-branch. >> >> Michal Ludvig >> >> Index: ChangeLog >> * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI >> change sync > > Is this needed for gdbserver? I'd guess not, since I assumed that > ptrace() behaved according to its man page. So probably gdbserver is > already correct. If you followed the man page, everything should be fine. The problem was that I didn't follow the man page in implemting ptrace in glibc for x86-64 - and fixing this meant changing the interface... ptrace is now using the same interface for x86-64 as for x86, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj