-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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
cmd/compile: include registerization info for gdb #2430
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
This seems to happen for local variables that have been registerized completely, so that their stack frame entry has been eliminated. 6nm shows no entry for 'i' in foo.6, nor does it occur in 6g -S output. then if it were present, the ld/dwarf code currently does not describe information about registerized variables. i'll think about the best way to pass both hurdles. |
Owner changed to @rsc. |
Comment 7 by [email protected]: not seeing locals at all makes debugging quite difficult. Is there any workaround for this? Anything better than disassembling the function and then trying to infer the values directly from the registers? |
Issue #7659 has been merged into this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: