From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20360 invoked by alias); 1 Nov 2006 06:51:54 -0000 Received: (qmail 20353 invoked by uid 22791); 1 Nov 2006 06:51:53 -0000 X-Spam-Status: No, hits=-0.1 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from lsd-gw.ic.unicamp.br (HELO boneca.lsd.ic.unicamp.br) (143.106.7.165) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Nov 2006 06:51:49 +0000 Received: from freie.oliva.athome.lsd.ic.unicamp.br (gw-to-emilia.oliva.athome.lsd.ic.unicamp.br [172.31.160.17] (may be forged)) by boneca.lsd.ic.unicamp.br (8.13.7/8.13.5) with ESMTP id kA16ol16006615; Wed, 1 Nov 2006 03:50:48 -0300 Received: from free.oliva.athome.lsd.ic.unicamp.br (free.oliva.athome.lsd.ic.unicamp.br [172.31.160.1]) by freie.oliva.athome.lsd.ic.unicamp.br (8.13.8/8.13.8) with ESMTP id kA16okiV012426; Wed, 1 Nov 2006 03:50:46 -0300 Received: from free.oliva.athome.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by free.oliva.athome.lsd.ic.unicamp.br (8.13.8/8.13.8) with ESMTP id kA16okQ5030778; Wed, 1 Nov 2006 03:50:46 -0300 Received: (from aoliva@localhost) by free.oliva.athome.lsd.ic.unicamp.br (8.13.8/8.13.8/Submit) id kA16ojSD030777; Wed, 1 Nov 2006 03:50:45 -0300 To: Roland McGrath Cc: "Gui,Jian" , systemtap@sources.redhat.com, "Frank Ch. Eigler" Subject: Re: "no match" semantic error for some existing probe points References: <20061030205508.0F8C7180051@magilla.sf.frob.com> From: Alexandre Oliva Errors-To: aoliva@lsd.ic.unicamp.br Date: Wed, 01 Nov 2006 07:03:00 -0000 In-Reply-To: <20061030205508.0F8C7180051@magilla.sf.frob.com> (Roland McGrath's message of "Mon, 30 Oct 2006 12:55:07 -0800 (PST)") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00306.txt.bz2 On Oct 30, 2006, Roland McGrath wrote: >> <2><4673b>: Abbrev Number: 49 (DW_TAG_inlined_subroutine) >> DW_AT_abstract_origin: <467d3> >> DW_AT_low_pc : 0x9db0 >> DW_AT_high_pc : 0x9de8 >> DW_AT_call_file : 0 >> DW_AT_call_line : 0 >> >> Does this mean the compiler didn't produce such information and >> we cannot handle this in systemtap? > This indeed is the compiler giving us no useful information here. Indeed, but this is an inlined call of ptrace_disabled. What we're missing is info about the clear_single_step() inlined call. However, in my kernel source tree, clear_single_step is a macro, not a function, so you won't get debug info for it without -g3 and, even then, you may not get any line numbers whatsoever for the function that does nothing but call a macro. I'm going to need preprocessed sources, a compilation command line and a compiler version number in order to try to get more detailed info and fix the compiler bug, if there is one. Ideally, such info should be in a Systemtap bug report at sources.redhat.com or bugzilla.redhat.com. Thanks, -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ Secretary for FSF Latin America http://www.fsfla.org/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}