One of the strengths of the GNAT technology is that its tool set
gdb debugger, etc.) is used in the same way regardless of the
On Windows this tool set is complemented by a number of Microsoft-specific tools that have been provided to facilitate interoperability with Windows when this is required. With these tools:
Immediately below are listed all known general GNAT-for-Windows restrictions. Other restrictions about specific features like Windows Resources and DLLs are listed in separate sections below.
SetLastErrorwhen tasking, protected records, or exceptions are used. In these cases, in order to implement Ada semantics, the GNAT run-time system calls certain Win32 routines that set the last error variable to 0 upon success. It should be possible to use
SetLastErrorwhen tasking, protected record, and exception features are not used, but it is not guaranteed to work.