This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC-v3] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: palves at redhat dot com, brobecker at adacore dot com, gdb-patches at sourceware dot org
- Date: Sat, 17 Nov 2012 12:00:32 +0200
- Subject: Re: [RFC-v3] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)
- 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>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Cc: "'Joel Brobecker'" <brobecker@adacore.com>, <gdb-patches@sourceware.org>
> 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.