-
Notifications
You must be signed in to change notification settings - Fork 595
Explain how to use gdb to debug the compiler #443
Copy link
Copy link
Open
Labels
A-contribution-workflowsArea: contribution workflowsArea: contribution workflowsA-contributor-devexArea: contributor developer experienceArea: contributor developer experienceA-debuggersArea: debuggers (lldb, gdb, WinDbg, etc.)Area: debuggers (lldb, gdb, WinDbg, etc.)C-enhancementCategory: enhancementCategory: enhancementE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wantedE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingT-compilerRelevant to the compiler teamRelevant to the compiler teamT-libsRelevant to the libs teamRelevant to the libs team
Metadata
Metadata
Assignees
Labels
A-contribution-workflowsArea: contribution workflowsArea: contribution workflowsA-contributor-devexArea: contributor developer experienceArea: contributor developer experienceA-debuggersArea: debuggers (lldb, gdb, WinDbg, etc.)Area: debuggers (lldb, gdb, WinDbg, etc.)C-enhancementCategory: enhancementCategory: enhancementE-help-wantedCall for participation: extra help is wantedCall for participation: extra help is wantedE-mediumDifficulty: might require some prior knowledge or code readingDifficulty: might require some prior knowledge or code readingT-compilerRelevant to the compiler teamRelevant to the compiler teamT-libsRelevant to the libs teamRelevant to the libs team
Type
Fields
Give feedbackNo fields configured for issues without a type.
There was a discussion in Zulip about how to attach
gdbtox.py.@petrochenkov suggested running
gdb --args ./build/x86_64-pc-windows-gnu/stage1/bin/rustc src/test/ui/name.rs, I think it would be great to have this explained on rustc-guide because it's a recurring question.