From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30202 invoked by alias); 25 May 2009 14:59:01 -0000 Received: (qmail 30189 invoked by uid 22791); 25 May 2009 14:59:00 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,FS_NEW_XXX,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f165.google.com (HELO mail-bw0-f165.google.com) (209.85.218.165) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 May 2009 14:58:54 +0000 Received: by bwz9 with SMTP id 9so3374415bwz.24 for ; Mon, 25 May 2009 07:58:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.126.69 with SMTP id b5mr3658219fas.34.1243263531352; Mon, 25 May 2009 07:58:51 -0700 (PDT) In-Reply-To: <8502af3c0905250017i13c3c01mf5a567ae41490266@mail.gmail.com> References: <8502af3c0905140623nece4f1dv1e03c2c841c59e42@mail.gmail.com> <1242311828.2994.39.camel@thomas> <8502af3c0905200126v68b6d474g9ee399bc163e8b5@mail.gmail.com> <20090520141243.GE17566@adacore.com> <8502af3c0905220524w71078d01kb4d95dc303775c2@mail.gmail.com> <20090522144255.GB23036@adacore.com> <8502af3c0905250017i13c3c01mf5a567ae41490266@mail.gmail.com> Date: Mon, 25 May 2009 14:59:00 -0000 Message-ID: <8502af3c0905250758h437b5c09tea25e684193e3dae@mail.gmail.com> Subject: Re: new port From: Florent DEFAY To: Joel Brobecker Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2009-05/txt/msg00164.txt.bz2 I finally resolved my problem. It was caused by "this_id" which was not set as soon as the prologue begins but some instructions later. Regards. Florent 2009/5/25 Florent DEFAY : > Thank you for reply. > >>> What is shocking me is "Outermost frame: unwinder did not report frame = ID" >>> and "Previous frame's sp" which has the same value as "frame at". >> >> I assume that frame 0 is for the call to "foo". What does "bt" say >> in this situation? > > "Stack level 0" is returned whatever the function, whatever the real > stack level. > bt says > #0 =A0main () at main.c:44 > in main and > #0 =A0foo (a=3D25) at main.c:6 > in foo. > > Regards. > > Florent >