https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80777
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- It uses the ms-abi for calling conventions but LP64, no LLP64: https://cygwin.com/cygwin-ug-net/programming.html That's by design, and so GCC's behaviour is not a bug. If GDB is inconsistent that's not a GCC bug.