summaryrefslogtreecommitdiff
path: root/src/pkg/debug
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý3-51/+169
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý9-23/+32
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-20/+13
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý5-15/+103
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý27-707/+1382
2010-06-22debug/dwarf: update PDF link.Rob Pike1-1/+1
Fixes issue 881. R=iant CC=golang-dev http://codereview.appspot.com/1696044
2010-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox2-11/+11
R=gri CC=golang-dev http://codereview.appspot.com/1620042
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman3-2/+2
R=rsc, Joe Poirier CC=golang-dev http://codereview.appspot.com/1015043 Committer: Russ Cox <rsc@golang.org>
2010-04-11debug/elf: Fix doc commentsEvan Shaw2-36/+11
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/849049 Committer: Russ Cox <rsc@golang.org>
2010-04-02debug/proc: fix typo in package documentationRobert Griesemer1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/829044
2010-04-01debug/macho: fix error message formatRobert Griesemer1-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/836046
2010-04-01debug/macho: don't crash when reading non-Mach-O filesRobert Griesemer2-1/+11
R=rsc CC=golang-dev http://codereview.appspot.com/838046
2010-03-30single argument panic on non-darwin and in commentsRuss Cox3-5/+5
R=r CC=golang-dev http://codereview.appspot.com/800042
2010-03-30simplify various code using new map index ruleRuss Cox1-2/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer1-14/+14
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes issue 644. R=rsc, r CC=golang-dev http://codereview.appspot.com/241041
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer6-166/+166
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-02-04Added mingw specific build stubs.Joe Poirier3-0/+27
R=rsc CC=golang-dev http://codereview.appspot.com/198071 Committer: Russ Cox <rsc@golang.org>
2010-02-03debug/gosym: fix test for new 6lRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/199091
2010-02-02Change type of Printf's args to ... interface{}Rob Pike1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/197043
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+1
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-12-15 1) Change default gofmt default settings forRobert Griesemer23-2402/+2402
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 2nd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/179067
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike1-2/+2
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085
2009-11-24fix for broken build (built-in new was invisible due to a parameter called ↵Robert Griesemer1-6/+6
'new') R=iant http://codereview.appspot.com/160057
2009-11-24Change to container/vector interface:Robert Griesemer1-2/+2
- removed New(len int) in favor of new(Vector).Resize(len, cap) - removed Init(len int) in favor of Resize(len, cap) - runs all.bash Fixes issue 294. R=rsc, r, r1 http://codereview.appspot.com/157143
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia5-10/+10
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox7-20/+20
R=r, gri CC=golang-dev http://codereview.appspot.com/156115
2009-11-17FreeBSD/i386 workDevon H. O'Dell1-0/+5
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
2009-11-17FreeBSD-specific porting work.Devon H. O'Dell2-0/+22
cgo/libmach remain unimplemented. However, compilers, runtime, and packages are 100%. I still need to go through and implement missing syscalls (at least make sure they're all listed), but for all shipped functionality, this is done. Ship! ;) R=rsc, VenkateshSrinivas http://codereview.appspot.com/152142 Committer: Russ Cox <rsc@golang.org>
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer13-63/+63
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer24-465/+465
R=rsc, r http://go/go-review/1025029
2009-11-08bug212, bug213.Russ Cox1-1/+1
R=ken http://go/go-review/1026032
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer13-327/+109
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05- fix elf.go manually so it is idempotent for gofmtRobert Griesemer1-8/+5
- with this change, `gofmt -l src/pkg | wc` is 0 R=rsc http://go/go-review/1025002
2009-11-05gofmt the last outstanding files in src/pkgRobert Griesemer1-3/+3
- added a list of issues to printer/nodes.go R=rsc http://go/go-review/1024002
2009-11-05- gofmt'ing of some stragglers, now with correct comment indentationRobert Griesemer1-53/+55
in special cases - re-gofmt'ing of some files that are now improved R=r, rsc http://go/go-review/1023003
2009-11-05gofmt'ed debugRobert Griesemer7-147/+194
(excluding debug/gosym/symtab.go which has a small issue) R=rsc http://go/go-review/1019001
2009-11-02Define constants for sizes of Sym structures.Ian Lance Taylor1-0/+3
R=rsc, agl http://go/go-review/1016028
2009-11-02Fix cgo for GCC 4.4Adam Langley5-0/+181
Firstly, with -Werror, GCC switched to printing warnings starting with "error:". Widening the string matches solves this as the messages are otherwise unchanged. Secondly, GCC 4.4 outputs DWARF sections with with NUL bytes in all the offsets and requires the relocation section for .debug_info to be processed in order to result in valid DWARF data. Thus we add minimal handling for relocation sections, which is sufficient for our needs. BUG=1 Fixes issue 1. R=rsc, iant CC=go-dev http://go/go-review/1017003
2009-10-27files that are okay from the last gofmt roundRuss Cox2-17/+9
R=gri http://go/go-review/1015011
2009-10-23all of pkg now compiles, fixes a few more testsKai Backman1-0/+56
go/test: passes 90% (313/345) R=rsc APPROVED=rsc DELTA=90 (83 added, 3 deleted, 4 changed) OCL=36011 CL=36023
2009-10-20base64 -> encoding/base64Russ Cox10-326/+7
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929
2009-10-15fix linux build:Russ Cox1-12/+12
i renamed sys to runtime but didn't remember this file. (and the darwin build doesn't use it.) TBR=r OCL=35826 CL=35826
2009-10-15Implement error handling on process monitor exit. Now, beforeAustin Clements1-20/+36
sending any message to the monitor, the sender must check a "ready" channel. Before exiting, the monitor records its exit error and closes this channel, ensuring that all later reads from the ready channel will immediately return false. Inspired by http://chplib.wordpress.com/2009/09/30/poison-concurrent-termination/ R=rsc APPROVED=rsc DELTA=47 (27 added, 11 deleted, 9 changed) OCL=35782 CL=35784
2009-10-08more lgtm files from gofmtRuss Cox8-31/+31
R=gri OCL=35485 CL=35488
2009-10-06gofmt on crypto, debugRuss Cox22-1681/+1780
R=gri DELTA=2560 (127 added, 177 deleted, 2256 changed) OCL=35388 CL=35395
2009-09-25Switch ogle to in-tree gosym package. Delete my private symAustin Clements1-1/+3
package. If a Sym is a function symbol, include a reference to the Func so it's easily accessible when you're traversing the list of all symbols. This diff is more interesting than the proc switch because the gosym interface differs from the old sym interface. R=rsc APPROVED=rsc DELTA=1957 (34 added, 1868 deleted, 55 changed) OCL=34969 CL=35008
2009-09-24add Size method to dwarf.TypeRuss Cox1-6/+27
R=r DELTA=30 (24 added, 3 deleted, 3 changed) OCL=34950 CL=34974
2009-09-24Switch ogle over to the in-tree debug/proc package. FixAustin Clements1-1/+1
debug/proc to install to the right place. Delete the old ptrace package. The diff looks huge, but it's mostly s/ptrace/proc/. R=rsc APPROVED=rsc DELTA=1940 (10 added, 1835 deleted, 95 changed) OCL=34966 CL=34968
2009-09-22nacl syscall package.Russ Cox2-0/+26
similar tweaks to make debug/proc, net, os build. R=r DELTA=861 (855 added, 4 deleted, 2 changed) OCL=34877 CL=34890