-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
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
send a patch adding zig to GDB #614
Comments
Bump... it's currently a royal pain debugging zig code on an MCU. All "const" declarations get optimized out, would be nice if there could be a flag to prevent this somehow. |
Related #25 |
|
Next step: send a patch to GCC editing include/dwarf2.h to add the new value. |
Looks like GCC was updated 2022-09-27: Updated constants from <https://dwarfstd.org/Languages.php> |
oh hey nice that landed :) according to github it looks like thats been generally available since gcc 13.1 gcc-mirror/gcc@8be6564 |
https://sourceware.org/gdb/wiki/Internals%20Adding-a-Source-Language-to-GDB
The text was updated successfully, but these errors were encountered: