From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5212 invoked by alias); 26 May 2006 19:39:40 -0000 Received: (qmail 5199 invoked by uid 22791); 26 May 2006 19:39:38 -0000 X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 May 2006 19:39:35 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4QJMBDd022175; Fri, 26 May 2006 15:22:11 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4QJMBNW015906; Fri, 26 May 2006 15:22:11 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k4QJMB7L000867; Fri, 26 May 2006 15:22:11 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id E19C980004C; Fri, 26 May 2006 15:22:10 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k4QJMA3j029604; Fri, 26 May 2006 15:22:10 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k4QJMAEa029603; Fri, 26 May 2006 15:22:10 -0400 Date: Fri, 26 May 2006 19:39:00 -0000 From: "Frank Ch. Eigler" To: Yi Feng Cc: systemtap@sources.redhat.com Subject: Re: Repost: Inaccurate function parameter location in debug info with gcc 3.x and 4.0 Message-ID: <20060526192210.GR19134@redhat.com> References: <4acfb6400605151055x7b4585b8r68f0c6a835668fa9@mail.gmail.com> <4acfb6400605161046u1f3670f3j38241157f9b17ab8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4acfb6400605161046u1f3670f3j38241157f9b17ab8@mail.gmail.com> User-Agent: Mutt/1.4.1i 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-q2/txt/msg00502.txt.bz2 Hi - > [...] Below is the relevant debug info generated by "readelf -wi > vmlinux". The kernel is 2.6.14.7 and the compiler is gcc 3.4.4. The > function of interest is sys_read. [...] (Thanks for the eu-readelf information, though it is not by itself enough to diagnose the problem. One might need more bits like a disassembly of the probed function, address-related excerpts from "stap -vvvv" output.) > In my system, this is very easily reproducible. You just need to > compile the kernel using gcc 3.x with -O2 and -Os. Red Hat originated kernels are built with -Os, but, importantly, use newer compilers that include fixes related to debugging information. > Please help me verify if this is just my build system's problem or > it is a common problem affecting all users. [...] It is not a common problem. We have a standard example in the test suite (iotask*.stp) that, although we don't run it automatically for some reason (no .exp file), it does work when run by hand. - FChE