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

The "Debugging support in the Rust compiler" chapter seems relevant for users rather than contributors #1409

Open
JohnTitor opened this issue Jul 25, 2022 · 1 comment

Comments

@JohnTitor
Copy link
Member

Originally posted by @rylev in #1406 (review):

This also seems correct though some of the information provided seems more relevant for users of Rust rather than those working on the Rust compiler.

Should we move this chapter somewhere or clarify how it's involved in hacking rustc?

@chenyukang
Copy link
Member

Sounds great!

For deugging rustc we already has:
https://rustc-dev-guide.rust-lang.org/compiler-debugging.html#configuring-the-compiler

I want to debug rustc with GDB, and can not find enough information on it.
So I spent some time to make it work.
Issues comes from an old GDB version, rust-lang/rust#60705 (comment).

I will try to make a PR to complement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants