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

Closed
JohnTitor opened this issue Jul 25, 2022 · 2 comments
Labels
A-contributor-onboarding Area: contributor on-boarding advice (e.g. for new contributors) A-debuggers Area: debuggers (lldb, gdb, WinDbg, etc.) C-cleanup Category: cleanups T-compiler Relevant to compiler team

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.

@jieyouxu jieyouxu added C-cleanup Category: cleanups A-contributor-onboarding Area: contributor on-boarding advice (e.g. for new contributors) T-compiler Relevant to compiler team A-debuggers Area: debuggers (lldb, gdb, WinDbg, etc.) labels Nov 2, 2024
@jieyouxu
Copy link
Member

jieyouxu commented Nov 2, 2024

Triage: clarified in #1417.

@jieyouxu jieyouxu closed this as completed Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-contributor-onboarding Area: contributor on-boarding advice (e.g. for new contributors) A-debuggers Area: debuggers (lldb, gdb, WinDbg, etc.) C-cleanup Category: cleanups T-compiler Relevant to compiler team
Projects
None yet
Development

No branches or pull requests

3 participants