From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9015 invoked by alias); 26 Apr 2011 01:51:17 -0000 Received: (qmail 8785 invoked by uid 22791); 26 Apr 2011 01:51:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Apr 2011 01:51:02 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 25 Apr 2011 18:51:01 -0700 X-ExtLoop1: 1 Received: from pgsmsx602.gar.corp.intel.com ([10.221.43.81]) by orsmga001.jf.intel.com with ESMTP; 25 Apr 2011 18:51:00 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.239.4.104) by pgsmsx602.gar.corp.intel.com (10.221.43.81) with Microsoft SMTP Server (TLS) id 8.2.255.0; Tue, 26 Apr 2011 09:49:50 +0800 Received: from shsmsx502.ccr.corp.intel.com ([10.239.4.96]) by SHSMSX602.ccr.corp.intel.com ([10.239.4.104]) with mapi; Tue, 26 Apr 2011 09:49:49 +0800 From: "Cui, Dexuan" To: 'Mathieu Desnoyers' , "'ltt-dev@lists.casi.polymtl.ca'" CC: "'gdb@sourceware.org'" Date: Tue, 26 Apr 2011 01:51:00 -0000 Subject: RE: [ltt-dev] gdb-7.2 can't build with lttng-ust-0.12 Message-ID: <1865303E0DED764181A9D882DEF65FB6931C75A5AE@shsmsx502.ccr.corp.intel.com> References: <1865303E0DED764181A9D882DEF65FB6931C75A5AA@shsmsx502.ccr.corp.intel.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00146.txt.bz2 Mathieu Desnoyers wrote: > * Cui, Dexuan (dexuan.cui AT intel.com) wrote: >> Due to the API changes in lttng-ust 0.12, gdb's latest version 7.2 >> can't build with lttng-ust: >> http://sourceware.org/ml/gdb/2011-04/msg00140.html=20 >>=20 >> Hope somebody here can help gdb to work with ust 0.12. :-) >=20 > Hi Dexuan, >=20 > We're currently doing instrumentation API changes in UST. At the > moment, it is in the git tree, planned for release in UST 0.13. Our > goal is to perform this painful (but required) step sooner than later > so that we minimize the amount of pain for our user-base. Hi Mathieu, Thanks very much for the info! I'm looking forward to seeing 0.13 released and hope it can build with gdb-7.2. :-) > Also, we should reopen the discussion on the way the UST Markers > collect the registers for GDB, because the current way involves a > _lot_ of ugly assembly code. It should be possible to only use a > volatile inline asm to specify input constraints on the target marker > parameters, and keep the instruction pointer address that corresponds > to this inline asm in a section known by gdb (so gdb could use the > drawf info to fetch data from registers/memory). If you can ensure > that this would fit gdb's requirements, I could clean up the marker > code and we could resync the APIs together. We could also provide > this for UST Tracepoints in the same go, with pretty much the same > interface as we'd use for UST Markers. I am aware that this would > require change on the GDB side, but I think it's better to > synchronise our effort rather than to shoot at different targets. Unluckily I'm pretty new to gdb and know few about this now. Let me Cc the gdb mailing list for more thoughts(hope this cross-posting wouldn't bother people). Thanks! -- Dexuan