[ANNOUNCEMENT] gdb-10.1-1 (TEST)

Jon Turney jon.turney@dronecode.org.uk
Sat Oct 24 18:33:00 GMT 2020

The following package has been updated in the Cygwin distribution:

* gdb-10.1-1

The GNU debugger allows you to debug programs written in C, C++, and 
other languages, by executing them in a controlled fashion and printing 
their data.

This is an update to the latest upstream version:


See the /usr/share/doc/gdb/NEWS file for a list of user-visible changes.

* GDB can now differentiate between "Windows" and "Cygwin" ABIs.

gdb understands these ABIs differ, in that x86_64 Cygwin is LP64, but 
x86_64 Windows is LLP64, and that different signal numbers are used by 
Cygwin and MinGW runtimes.

For example, this should mean that 'print sizeof(long)' now gives the 
correct result for a x86_64 Cygwin inferior.

The detected ABI for an inferior can be inspected with 'show osabi'.

* gdb now supports debugging a 32-bit Windows program using a 64-bit 
Windows GDB (Not likely to work correctly for Cygwin programs).

In addition, it contains the following patches carried forward from the 
previous Cygwin package:

* Teach the demangler to deal with '@'-decorated __stdcall functions
* (experimental) Teach gdb how to unwind frames for the Cygwin signal 
delivery wrapper functions _sigbe and sigdelayed
* Fix a memory leak which would occur in the case when the result of 
realpath() is greater than or equal to SO_NAME_MAX_PATH_SIZE (Corinna 

and the following new patches:

* Handle x86_64 Cygwin core dumps (when generated by dumper from Cygwin 
3.1.7 or later)
* Simplify and improve handling of inferior context after a Cygwin signal

More information about the Cygwin mailing list