From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8158 invoked by alias); 25 Jun 2013 21:13:16 -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 8134 invoked by uid 89); 25 Jun 2013 21:13:12 -0000 X-Spam-SWARE-Status: No, score=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 25 Jun 2013 21:13:11 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5PLD9sf011438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Jun 2013 17:13:09 -0400 Received: from psique (ovpn-113-175.phx2.redhat.com [10.3.113.175]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5PLD5BX011332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 25 Jun 2013 17:13:07 -0400 From: Sergio Durigan Junior To: Joel Brobecker Cc: gdb-patches@sourceware.org, Tom Tromey , Jan Kratochvil , Pedro Alves Subject: Re: [commit] Improved linker-debugger interface References: <20130516144340.GA2105@blade.nx> <20130604133819.GA25892@blade.nx> <20130625205350.GA28973@adacore.com> X-URL: http://www.redhat.com Date: Tue, 25 Jun 2013 22:03:00 -0000 In-Reply-To: <20130625205350.GA28973@adacore.com> (Joel Brobecker's message of "Tue, 25 Jun 2013 13:53:50 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00748.txt.bz2 On Tuesday, June 25 2013, Joel Brobecker wrote: >> I just committed the improved linker-debugger interface patch series >> as attached. For those of you using the patches in distributions, >> some of the attached files have different filenames than previously >> posted: > > I am seeing some issues on ia64-linux (rhES5): > > | (gdb) start > | Temporary breakpoint 1 at 0x40000000000005a1: file bar.c, line 4. > | Starting program: /saco.a/users/brobecke/ex/simple/bar > | warning: Probes-based dynamic linker interface failed. > | Reverting to original interface. > | > | Unknown numeric token on expression `0 8@r35'. > > I will investigate the problem with the unknown numeric token, but > any recommendation before I start? Hi Joel, Thanks for the report. There are two kinds of things happening here. First, the current SDT parser (implemented on stap-probe.c) is not recognizing one of the probe's arguments. This is where the "Unknown numeric token" comes from. The initial "0" is making the parser confused, and to be honest it is also making me confused :-). I did not implement the support for IA-64, FWIW. I am looking into this issue right away. > Also, I am wondering we really want a warning in this case - > I think this is going to make the average user think that there > is something wrong and therefore that needs to be fixed. What > do people think? The second thing is the warning. It is issues by Gary's patch, and I agree that it could confuse users. However, I think it is still a good thing to have. Maybe one could create a debug flag that would enable printing such warnings? Just an idea. I will get back to you when I have more news about what's going on with the SDT parser. Thanks, -- Sergio