From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7461 invoked by alias); 17 Nov 2012 10:01:14 -0000 Received: (qmail 7435 invoked by uid 22791); 17 Nov 2012 10:01:08 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KAM_ADVERT2,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Nov 2012 10:01:03 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MDM00800MGAEN00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Sat, 17 Nov 2012 12:01:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDM008F3MHP9190@a-mtaout23.012.net.il>; Sat, 17 Nov 2012 12:01:01 +0200 (IST) Date: Sat, 17 Nov 2012 10:01:00 -0000 From: Eli Zaretskii Subject: Re: [RFC-v3] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior) In-reply-to: <000301cdbd96$f5cd9f10$e168dd30$%muller@ics-cnrs.unistra.fr> To: Pierre Muller Cc: palves@redhat.com, brobecker@adacore.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83haoo35xb.fsf@gnu.org> References: <83a9vs89r9.fsf@gnu.org> <201210120953.q9C9rqfu020865@glazunov.sibelius.xs4all.nl> <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> X-IsSubscribed: yes 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/msg00482.txt.bz2 > From: "Pierre Muller" > Cc: "'Joel Brobecker'" , > Date: Thu, 8 Nov 2012 10:53:42 +0100 > > This is an adapted patch after the change by Pedro > to always place defs.h as first include header. > > This is just for convenience as the previous patch probably would create > conflicts if applied to up-to-date CVS tree. > > For Eli, I also attached a second version > called fix-dll-branch.patch > that applies to gdb_7_5-branch. Thanks, I tested the patch for the branch, and it solves my problem with calling GetLastError. I'd love to see this patch in a future version of GDB.