[Bug target/80777] gdb sizeof(long int)=4 but gcc sizeof(long int)=8 on x86_64-pc-cygwin
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 18 09:36:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list