]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: rewrite in Go
authorRuss Cox <rsc@golang.org>
Mon, 14 Apr 2014 14:58:49 +0000 (10:58 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 14 Apr 2014 14:58:49 +0000 (10:58 -0400)
commit0d441a088d2cb23af32dae473aea989830d11055
tree089f6f0aeee581a999c83c175e442313e51bad71
parentc48db9a47388bfbcec97d33b03ee81ffe7eb50af
cmd/objdump: rewrite in Go

Update cmd/dist not to build the C version.
Update cmd/go to install the Go version to the tool directory.

Update #7452

This is the basic logic needed for objdump, and it works well enough
to support the pprof list and weblist commands. A real disassembler
needs to be added in order to support the pprof disasm command
and the per-line assembly displays in weblist. That's still to come.

Probably objdump will move to go.tools when the disassembler
is added, but it can stay here for now.

LGTM=minux.ma
R=golang-codereviews, minux.ma
CC=golang-codereviews, iant, r
https://golang.org/cl/87580043
src/cmd/dist/build.c
src/cmd/go/pkg.go
src/cmd/objdump/main.c [deleted file]
src/cmd/objdump/main.go [new file with mode: 0644]