From: Ian Lance Taylor Date: Fri, 13 Dec 2013 02:55:05 +0000 (-0800) Subject: debug/dwarf: remove unused field addrsize from Data X-Git-Tag: go1.3beta1~1242 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=52ecd2ce96c7635eaf731c1003fdd4507f4d08aa;p=gostls13.git debug/dwarf: remove unused field addrsize from Data The addrsize field is not a constant for an entire executable file, and is now handled by the dataFormat interface when reading the data. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/41620043 --- diff --git a/src/pkg/debug/dwarf/open.go b/src/pkg/debug/dwarf/open.go index 37a518b6d3..7579892529 100644 --- a/src/pkg/debug/dwarf/open.go +++ b/src/pkg/debug/dwarf/open.go @@ -24,7 +24,6 @@ type Data struct { // parsed data abbrevCache map[uint32]abbrevTable - addrsize int order binary.ByteOrder typeCache map[Offset]Type unit []unit