From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16537 invoked by alias); 31 Mar 2015 18:47: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 16522 invoked by uid 89); 31 Mar 2015 18:47:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_BODY autolearn=no version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 31 Mar 2015 18:47:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 69D37D38BF; Tue, 31 Mar 2015 14:47:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xPZ+QWxYoB6k; Tue, 31 Mar 2015 14:47:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 2F5E8D38B7; Tue, 31 Mar 2015 14:47:25 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6828140EAD; Tue, 31 Mar 2015 11:47:27 -0700 (PDT) Date: Tue, 31 Mar 2015 18:47:00 -0000 From: Joel Brobecker To: "Jose E. Marchesi" Cc: Sergio Durigan Junior , gdb-patches@sourceware.org Subject: Re: [PATCH V4 5/9] New probe type: DTrace USDT probes. Message-ID: <20150331184727.GF13867@adacore.com> References: <1422874968-382-1-git-send-email-jose.marchesi@oracle.com> <1422874968-382-6-git-send-email-jose.marchesi@oracle.com> <87r3tp722i.fsf@redhat.com> <20150325191418.GA32233@adacore.com> <87bnjfraq1.fsf@oracle.com> <20150326175028.GA13867@adacore.com> <87y4mdjcie.fsf@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y4mdjcie.fsf@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-03/txt/msg01066.txt.bz2 Hi Jose, > I just tried the following in a x86-solaris machine, using todays git > GDB: [...] > In this system DTrace generates little-endian DOF data, and it looks > like GDB handles it just fine. I still think the problem you observed > is related to endianness, but I cannot be sure without looking at the > contents of the DOF program embedded in your binaries... Sorry, I was going to send you an email this morning, and then got carried away by other duties... :-( I've been able to reproduce the problem, but when I checked again with a non-AdaCore debugger, the problem went away. I'm not really sure whether this indicates whether this is an issue caused by some of our local changes, or whether this is just a latent bug that gets triggered by those local changes. Either way, it felt like I would have no choice but to get more familiar with how those probes work. The problem is that I'm short on time again. But, if you have any kind of document describing how this data is laid out in the binary, I'm very interested. Sorry I waited so long before getting back to you! -- Joel