Re: [RFC-v3] Fix .text section offset for windows DLL (was Calling __stdcall functions in the inferior)

Eli Zaretskii
2012-11-17T10:01:14Z

> 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.