Hi All,

I was looking to see how the golang compiler works, and wanted to step in
to the compilation process to see what happens. I am looking at the
standard Go compiler in src/cmd/compile from https://github.com/golang/go.

When I try to run the compilation process with gdb, I see I can put
breakpoints for the code when the "go tool" is triggered (code in
src/cmd/go), but not in the code inside cmd/compile/internal.
I can also put breakpoints for the code in runtime package, and I see
runtime package has a special "runtime-gdb.py" file.

Can anyone point me to what is going on here? And how can I step-in to the
compiler code?

Thanks!
Mohit

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to