From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3770 invoked by alias); 18 Jun 2013 07:01:08 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 3738 invoked by uid 89); 18 Jun 2013 07:01:02 -0000 X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_BR,RCVD_IN_JMF_BR,RCVD_IN_SEMBACKSCATTER,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from mail-in-03.arcor-online.net (HELO mail-in-03.arcor-online.net) (151.189.21.43) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 18 Jun 2013 07:01:01 +0000 Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mx.arcor.de (Postfix) with ESMTP id D7B2CD97C0; Tue, 18 Jun 2013 09:00:58 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id CD01B2E6172; Tue, 18 Jun 2013 09:00:58 +0200 (CEST) Received: from [192.168.0.100] (dslc-082-083-211-234.pools.arcor-ip.net [82.83.211.234]) (Authenticated sender: holger.brunck@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPA id 8DD6E5A8B1; Tue, 18 Jun 2013 09:00:58 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net 8DD6E5A8B1 Message-ID: <51C005AA.8010300@keymile.com> Date: Tue, 18 Jun 2013 07:01:00 -0000 From: Holger Brunck User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mark Wielaard CC: Lukas Berk , systemtap@sourceware.org Subject: Re: print_ubacktrace() and ppc 32 References: <51BF1C1E.7020208@keymile.com> <1371491014.4501.97.camel@bordewijk.wildebeest.org> <20130617180008.GC2219@redhat.com> <1371492348.4501.106.camel@bordewijk.wildebeest.org> In-Reply-To: <1371492348.4501.106.camel@bordewijk.wildebeest.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q2/txt/msg00313.txt.bz2 Hi, On 06/17/2013 08:05 PM, Mark Wielaard wrote: >> Unfortunately I believe this is because we don't actually support >> > powerpc32 (only ppc64.h is defined in unwind.h). So while the first >> > error you're getting is being worked on (I'm currently working on >> > PR10272[1] so hopefully it'll be resloved soon), the second error will >> > be the show stopper here. > Yeah thanks. I had completely forgotten I only implemented the DWARF > unwinder for ppc64. Sorry. This was because when I wrote the powerpc > DWARF unwinder (kernel support) I only had access to ppc64 kernels. > ah ok thanks so it's currently unsupported. > So for a ppc32 kernel we do need a new runtime/unwind/ppc32.h > definitions file. It should not be that hard to write based on the > ppc64.h version and the ppc32 DWARF register mappings from > http://refspecs.linuxbase.org/elf/elfspec_ppc.pdf > But note that testing might be needed to see if those really map to > actually used DWARF register numbers generated by the toolchain. As can > be seen in the comments in ppc64.h sometimes mistakes have been made and > theory/spec and practice are not the same :{ Ok thanks for pointing out. If someone has a first ppc32.h file and needs some help for testing on a native 32 bit ppc system, let me know. Or maybe in the next week I find the time to implement one. Best regards Holger