From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13501 invoked by alias); 19 Aug 2013 13:53:18 -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 13492 invoked by uid 89); 19 Aug 2013 13:53:18 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 19 Aug 2013 13:53:17 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 0A22E265C27A; Mon, 19 Aug 2013 15:53:15 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aLpelBXcAw02; Mon, 19 Aug 2013 15:53:14 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id AA6D9265C275; Mon, 19 Aug 2013 15:53:14 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [RFA] Windows x64 SEH unwinder (v2) From: Tristan Gingold In-Reply-To: <51FF8B7F.8010505@onevision.de> Date: Mon, 19 Aug 2013 13:53:00 -0000 Cc: Pedro Alves , Joel Brobecker , "gdb-patches@sourceware.org ml" Content-Transfer-Encoding: quoted-printable Message-Id: <270EF216-0550-4BBE-A2C0-CD4FEC3C4270@adacore.com> References: <51FF8B7F.8010505@onevision.de> To: Roland Schwingel X-SW-Source: 2013-08/txt/msg00499.txt.bz2 On Aug 5, 2013, at 1:24 PM, Roland Schwingel wrote: > Hi Tristan... >=20 > gdb-patches-owner@sourceware.org wrote on 08.07.2013 12:55:21: >=20 > > Hello, > > > > this is the second version of the patch we submitted in January. > > I have rewritten amd64_windows_frame_decode_epilogue according to the > > very serious review and comments from Pedro. > > > > Tristan. > Today I gave your SEH unwinder patch a try. I hopped to get an issue from= 2005 resolved. >=20 > (See: http://sourceware.org/ml/gdb/2005-04/msg00113.html) >=20 > I compiled my test C code from this post using GCC 4.8.1 for x64 windows > with no special options beside of a single -g. >=20 > Stack frames are way better... Congratulations... But: > When inspecting frames I see problems showing the content of variables. I= cannot look into any of the applications vars. gdb just shows eg: >=20 > #1: 0x0000000000401577 in func4 (num=3D) at gdb_crash.c:26 >=20 > also a "p num" show the same error. >=20 > Did I do something wrong? Is there a hidden trick that needs to be applie= d to get this going that I couldn't find from reading the patch? Doesn't ring a bell here. Can you post gdb_crash.c ? Tristan.