Skip to content
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

Open
andrewrk opened this issue Nov 15, 2017 · 7 comments
Open

send a patch adding zig to GDB #614

andrewrk opened this issue Nov 15, 2017 · 7 comments
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. downstream An issue with a third party project that uses Zig.
Milestone

Comments

@andrewrk
Copy link
Member

https://sourceware.org/gdb/wiki/Internals%20Adding-a-Source-Language-to-GDB

@andrewrk andrewrk added the contributor friendly This issue is limited in scope and/or knowledge of Zig internals. label Nov 15, 2017
@andrewrk andrewrk added this to the 0.3.0 milestone Nov 15, 2017
@andrewrk andrewrk modified the milestones: 0.3.0, 0.4.0 Feb 28, 2018
@andrewrk andrewrk modified the milestones: 0.4.0, 0.5.0 Feb 15, 2019
@andrewrk andrewrk added the downstream An issue with a third party project that uses Zig. label Jun 14, 2019
@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Sep 11, 2019
@andrewrk
Copy link
Member Author

@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Dec 9, 2019
@frmdstryr
Copy link
Contributor

frmdstryr commented Jan 11, 2020

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.

@frmdstryr
Copy link
Contributor

Related #25

@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Oct 9, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Nov 6, 2020
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
@nektro
Copy link
Contributor

nektro commented Mar 30, 2022

03/14/21 -- Language code assigned

@daurnimator
Copy link
Contributor

Next step: send a patch to GCC editing include/dwarf2.h to add the new value.

@djpohly
Copy link
Contributor

djpohly commented Sep 22, 2023

Looks like GCC was updated 2022-09-27: Updated constants from <https://dwarfstd.org/Languages.php>

@nektro
Copy link
Contributor

nektro commented Sep 22, 2023

oh hey nice that landed :) according to github it looks like thats been generally available since gcc 13.1 gcc-mirror/gcc@8be6564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. downstream An issue with a third party project that uses Zig.
Projects
None yet
Development

No branches or pull requests

5 participants