From 2fd401c8f190f1fe43e51a7f726f6ed6119a1f96 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 3 Dec 2011 02:17:34 +0000 Subject: libgo: Update to weekly.2011-11-02. From-SVN: r181964 --- libgo/go/debug/dwarf/open.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libgo/go/debug/dwarf/open.go') diff --git a/libgo/go/debug/dwarf/open.go b/libgo/go/debug/dwarf/open.go index d9525f7..9543297 100644 --- a/libgo/go/debug/dwarf/open.go +++ b/libgo/go/debug/dwarf/open.go @@ -7,10 +7,7 @@ // http://dwarfstd.org/doc/dwarf-2.0.0.pdf package dwarf -import ( - "encoding/binary" - "os" -) +import "encoding/binary" // Data represents the DWARF debugging information // loaded from an executable file (for example, an ELF or Mach-O executable). @@ -40,7 +37,7 @@ type Data struct { // The []byte arguments are the data from the corresponding debug section // in the object file; for example, for an ELF object, abbrev is the contents of // the ".debug_abbrev" section. -func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, os.Error) { +func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) { d := &Data{ abbrev: abbrev, aranges: aranges, -- cgit v1.1