-
Notifications
You must be signed in to change notification settings - Fork 18k
gdb: Wrong values for local variables #8256
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
Comments
Not sure if it matters, but I'm able to reproduce this on Mac OS 10.9.4 with GNU gdb (GDB) 7.7.1 and Go 1.3.1. I used the same build command with the same flags. My Go program and garbage output are both attached for reference. Attachments:
|
See http://golang.org/doc/gdb . As it says there, making Go work well with gdb is not a priority for the Go project. Of course Go is an open source project and we are always happy to accept patches. But at the moment I'm not aware of anybody working on this issue, so I can not predict when it will be fixed. |
Newly tests show gdb work fines. GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.2) 9.2 Thread 1 "gdb" hit Breakpoint 1, main.main () at /home/ulin/data/code/lean/compile/gdb.go:18 |
Thanks. |
by andreas.nusser:
Attachments:
The text was updated successfully, but these errors were encountered: