From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23872 invoked by alias); 7 Aug 2013 13:27:37 -0000 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 Received: (qmail 23699 invoked by uid 89); 7 Aug 2013 13:27:36 -0000 X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 Received: from Unknown (HELO e06smtp18.uk.ibm.com) (195.75.94.114) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 07 Aug 2013 13:27:34 +0000 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Aug 2013 14:20:57 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp18.uk.ibm.com (192.168.101.148) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Aug 2013 14:20:54 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id F26BF17D8057 for ; Wed, 7 Aug 2013 14:29:10 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r77DRBlf59572378 for ; Wed, 7 Aug 2013 13:27:11 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r77DRLpu008736 for ; Wed, 7 Aug 2013 07:27:22 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id r77DRJBq008616; Wed, 7 Aug 2013 07:27:19 -0600 Message-Id: <201308071327.r77DRJBq008616@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 07 Aug 2013 15:27:19 +0200 Subject: Re: [PATCH 5/5] make calls to ptrace64 in aix-thread.c when defined To: raunaq12@in.ibm.com (Raunaq 12) Date: Wed, 07 Aug 2013 13:27:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, mark.kettenis@xs4all.nl (Mark Kettenis), tromey@redhat.com, Ulrich.Weigand@de.ibm.com (Ulrich Weigand) In-Reply-To: from "Raunaq 12" at Aug 07, 2013 06:04:47 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13080713-6892-0000-0000-000005F35841 X-SW-Source: 2013-08/txt/msg00194.txt.bz2 Raunaq 12 wrote: > Thanks a lot for the help. Attaching the patch after the Changelog > entry below. > > Changelog :- > * aixthread.c: Call ptrace64 instead of ptracex if defined. > Call ptrace64 instead of ptrace if defined. > Add macro addr_ptr to take care of ptrace address arguement. > (pdc_read_regs): Likewise. > (pdc_write_regs): Likewise. > (aix_thread_resume): Likewise. > (fetch_regs_kernel_thread): Likewise. > (store_regs_kernel_thread): Likewise. > > (See attached file: gdb-7.6-aix-thread.patch) I've checked this in now. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com