We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using squirrel within a C++ project and gdb always crashed when hitting a breakpoint:
gdbtypes.c:1957: internal-error: internal_type_vptr_fieldno: Assertion `type->code () == TYPE_CODE_STRUCT || type->code () == TYPE_CODE_UNION' failed.
It turns out this happens when using the -gstabs flag with gcc -> https://www.cygwin.com/bugzilla/show_bug.cgi?id=28740#c3
I replaced all -gstabs with just -g and afterwards debugging works fine.
I'm no expert on these flags and I'm not sure if -gstabs is used here on purpose or not, but I thought just letting you know. -> https://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Debugging-Options.html
The text was updated successfully, but these errors were encountered:
Sounds like something to report to GDB
Sorry, something went wrong.
It seems STABS support is deprecated in gcc 12 and will be removed. -> https://gcc.gnu.org/gcc-12/changes.html
No branches or pull requests
I'm using squirrel within a C++ project and gdb always crashed when hitting a breakpoint:
gdbtypes.c:1957: internal-error: internal_type_vptr_fieldno: Assertion `type->code () == TYPE_CODE_STRUCT || type->code () == TYPE_CODE_UNION' failed.
It turns out this happens when using the -gstabs flag with gcc
-> https://www.cygwin.com/bugzilla/show_bug.cgi?id=28740#c3
I replaced all -gstabs with just -g and afterwards debugging works fine.
I'm no expert on these flags and I'm not sure if -gstabs is used here on purpose or not, but I thought just letting you know.
-> https://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Debugging-Options.html
The text was updated successfully, but these errors were encountered: