cmd/addr2line, cmd/objdump: handle Plan 9 a.out object files

Update #7947.

LGTM=iant
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/91500044
This commit is contained in:
David du Colombier 2014-05-16 16:51:27 +02:00
parent 1704368c5d
commit 23e8c0d281
4 changed files with 111 additions and 6 deletions

View file

@ -87,9 +87,6 @@ func testObjDump(t *testing.T, exe, startaddr, endaddr string) {
// This is line 88. The test depends on that.
func TestObjDump(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("skipping test; see http://golang.org/issue/7947")
}
syms := loadSyms(t)
tmp, exe := buildObjdump(t)