From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13033 invoked by alias); 26 Nov 2012 11:39:31 -0000 Received: (qmail 13025 invoked by uid 22791); 26 Nov 2012 11:39:30 -0000 X-SWARE-Spam-Status: No, hits=-7.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Nov 2012 11:39:21 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAQBdG8h016605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Nov 2012 06:39:17 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAQBdEmL017307; Mon, 26 Nov 2012 06:39:15 -0500 Message-ID: <50B354E2.7010402@redhat.com> Date: Mon, 26 Nov 2012 11:39:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Pierre Muller CC: "'asmwarrior'" , gdb-patches@sourceware.org Subject: Re: [RFC-v4] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior) References: <834nm07z0s.fsf@gnu.org> <5077FEB9.4030304@redhat.com> <83y5jb7rfe.fsf@gnu.org> <006001cdaada$00c81f00$02585d00$@muller@ics-cnrs.unistra.fr> <20121024194517.GK3555@adacore.com> <011901cdb2ab$48076b90$d81642b0$@muller@ics-cnrs.unistra.fr> <20121105171121.GA2972@adacore.com> <50991f5f.8382440a.1100.ffff82abSMTPIN_ADDED@mx.google.com> <509ABA17.30507@redhat.com> <000301cdbd96$f5cd9f10$e168dd30$@muller@ics-cnrs.unistra.fr> <20121122173019.GF9964@adacore.com> <15690.5992342674$1353883881@news.gmane.org> <50B2EAC7.6080502@gmail.com> <50b340fb.0aec440a.1c48.5818SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: <50b340fb.0aec440a.1c48.5818SMTPIN_ADDED_BROKEN@mx.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-11/txt/msg00647.txt.bz2 On 11/26/2012 10:13 AM, Pierre Muller wrote: > Hi all, > > thanks for trying the patch out... > As I commented inside my email, I > am not familiar with the make_cleanup/ do_cleanups > functions. > The crash you see it related to my lack of knowledge in that area, > sorry about this. > I really do need advice from knowledgeable persons > about how to correctly chain several cleanups... It's all described in the gdbint manual: http://sourceware.org/gdb/current/onlinedocs/gdbint/Misc-Guidelines.html#Misc-Guidelines -- Pedro Alves