From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22293 invoked by alias); 12 Aug 2013 19:43:53 -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 22283 invoked by uid 89); 12 Aug 2013 19:43:52 -0000 X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2 Received: from mail-ve0-f170.google.com (HELO mail-ve0-f170.google.com) (209.85.128.170) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 12 Aug 2013 19:43:52 +0000 Received: by mail-ve0-f170.google.com with SMTP id 15so6043932vea.29 for ; Mon, 12 Aug 2013 12:43:50 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.52.161.33 with SMTP id xp1mr434561vdb.55.1376336630407; Mon, 12 Aug 2013 12:43:50 -0700 (PDT) Received: by 10.220.53.132 with HTTP; Mon, 12 Aug 2013 12:43:50 -0700 (PDT) In-Reply-To: References: Date: Mon, 12 Aug 2013 19:43:00 -0000 Message-ID: Subject: Re: [PATCH 4/5] powerpc64-aix ptrace64 when defined. From: David Edelsohn To: Raunaq 12 Cc: GDB Patches , Mark Kettenis , Ulrich Weigand Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-08/txt/msg00320.txt.bz2 On Mon, Aug 12, 2013 at 8:10 AM, Raunaq 12 wrote: > My initial intention was to use ptrace64 only if ptrace64 was available and > GDB was built in 64 BIT. But after a few discussions over this, I decided > to use ptrace64 when ever the API is defined. > > So, this present patch would use > ptrace64 even for a 32 bit build as you rightly noticed. > This did not change the test results for a 32 bit build of GDB. I built gdb-7.6 with the ptrace64 patch (without --enable-64-bit-bfd) and it seems to work correctly on cc1plus. So at least the current patch does not harm debugging. Thanks, David