From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21548 invoked by alias); 22 Aug 2013 18:02:28 -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 21532 invoked by uid 89); 22 Aug 2013 18:02:27 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.2 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 22 Aug 2013 18:02:26 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VCZDE-0002S4-SZ from Luis_Gustavo@mentor.com ; Thu, 22 Aug 2013 11:02:24 -0700 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by svr-orw-fem-01.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 22 Aug 2013 11:02:24 -0700 Received: from [172.30.5.35] ([172.30.5.35]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Aug 2013 11:02:24 -0700 Message-ID: <5216522A.1010203@codesourcery.com> Date: Thu, 22 Aug 2013 18:02:00 -0000 From: Luis Machado Reply-To: lgustavo@codesourcery.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Pedro Alves CC: "'gdb-patches@sourceware.org'" , Tom Tromey Subject: Re: [PATCH, v2] Share ptrace options discovery/linux native code between GDB and gdbserver References: <5212A9E1.6030707@codesourcery.com> <52139BBA.60300@redhat.com> <52142F4B.7030702@codesourcery.com> <52153132.5040400@redhat.com> <52157A99.8030904@codesourcery.com> <521644F5.5000901@redhat.com> In-Reply-To: <521644F5.5000901@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00650.txt.bz2 On 08/22/2013 02:05 PM, Pedro Alves wrote: > On 08/22/2013 03:42 AM, Luis Machado wrote: > >> My intention is to pursue a ptrace wrapper at a later stage, so i can >> probably address this by then. > > OOC, for tracing ptrace calls, or something else? > To enforce proper casting of types like Tom suggested the other day on IRC. We currently have type conversion assumptions that may not always be correct for the third and forth ptrace parameters. Tracing ptrace calls may be interesting as well now that you mentioned. >> How does this third iteration look? > > Looks great, thanks. > Great. I'll check it in later today. Thanks, Luis