aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
AgeCommit message (Collapse)Author
2011-07-12[release-branch.r58] cgo: handle new Apple LLVM-based gcc from Xcode 4.2release.r58.1Russ Cox
««« CL 4607045 / 142f0bc0d6e7 cgo: handle new Apple LLVM-based gcc from Xcode 4.2 That gcc does not include enumerator names and values in its DWARF debug output. Create a data block from which we can read the values instead. Fixes #1881. R=iant CC=golang-dev https://golang.org/cl/4607045 »»» R=adg CC=golang-dev https://golang.org/cl/4708042
2011-05-18pkg: spelling tweaks, A-HRobert Hencke
R=ality, bradfitz, rsc, dsymonds, adg, qyzhai, dchest CC=golang-dev https://golang.org/cl/4536063
2011-04-27cgo: handle versioned ELF symbolsRuss Cox
Fixes #1397. R=iant CC=golang-dev https://golang.org/cl/4444064
2011-04-20src/pkg: make package doc comments consistently start with "Package foo".Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/4442064
2011-04-04os: New Open API.Rob Pike
We replace the current Open with: OpenFile(name, flag, perm) // same as old Open Open(name) // same as old Open(name, O_RDONLY, 0) Create(name) // same as old Open(name, O_RDWR|O_TRUNC|O_CREAT, 0666) This CL includes a gofix module and full code updates: all.bash passes. (There may be a few comments I missed.) The interesting packages are: gofix os Everything else is automatically generated except for hand tweaks to: src/pkg/io/ioutil/ioutil.go src/pkg/io/ioutil/tempfile.go src/pkg/crypto/tls/generate_cert.go src/cmd/goyacc/goyacc.go src/cmd/goyacc/units.y R=golang-dev, bradfitzwork, rsc, r2 CC=golang-dev https://golang.org/cl/4357052
2011-04-04os: add Seek whence constantsBrad Fitzpatrick
R=r, r2, rsc1, rsc, jacek.masiulaniec CC=golang-dev https://golang.org/cl/4344062
2011-03-29debug/gosym: remove need for gotest to run preparatory commands.Rob Pike
Put them into the Makefile instead. One dependency mechanism is enough. R=rsc CC=golang-dev https://golang.org/cl/4331043
2011-03-15debug/proc: fix buildRuss Cox
R=r CC=golang-dev https://golang.org/cl/4273060
2011-03-15os, syscall: add ProcAttr type. Change StartProcess etc. to use it.Roger Peppe
The Windows code is untested. R=rsc, gri, brainman, rsc1 CC=golang-dev https://golang.org/cl/4253052
2011-02-10debug/pe: ImportedSymbols fixesWei Guangjing
R=golang-dev, brainman, mattn, rsc CC=golang-dev https://golang.org/cl/4001058
2011-01-20cgo: windows/386 portWei Guangjing
R=rsc, peterGo, brainman CC=golang-dev https://golang.org/cl/3733046
2011-01-19cgo: add complex float, complex doubleSebastien Binet
R=rsc CC=binet, golang-dev https://golang.org/cl/3906041
2010-12-15remove naclRuss Cox
The recent linker changes broke NaCl support a month ago, and there are no known users of it. The NaCl code can always be recovered from the repository history. R=adg, r CC=golang-dev https://golang.org/cl/3671042
2010-12-11gofmt -s -w srcMikio Hara
R=golang-dev, gri CC=golang-dev https://golang.org/cl/3592041
2010-12-08debug/elf, debug/macho: add ImportedLibraries, ImportedSymbolsRuss Cox
R=r, iant CC=golang-dev https://golang.org/cl/3470044
2010-11-01debug/pe, cgo: add windows supportWei Guangjing
R=rsc, mattn CC=golang-dev https://golang.org/cl/1976045
2010-10-27use appendRuss Cox
R=gri, r, r2 CC=golang-dev https://golang.org/cl/2743042
2010-10-26use copyRuss Cox
R=gri CC=golang-dev https://golang.org/cl/2763041
2010-10-25debug/gosym: do not run when cross-compilingRuss Cox
R=r CC=golang-dev https://golang.org/cl/2737041
2010-10-22gofmt -s -w src miscRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/2662041
2010-10-21fix buildRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2621042
2010-10-135l, 6l, 8l: first pass cleanupRuss Cox
* Maintain Sym* list for text with individual prog lists instead of using one huge list and overloading p->pcond. * Comment what each file is for. * Move some output code from span.c to asm.c. * Move profiling into prof.c, symbol table into symtab.c. * Move mkfwd to ld/lib.c. * Throw away dhog dynamic loading code. * Throw away Alef become. * Fix printing of WORD instructions in 5l -a. Goal here is to be able to handle each piece of text or data as a separate piece, both to make it easier to load the occasional .o file and also to make it possible to split the work across multiple threads. R=ken2, r, ken3 CC=golang-dev https://golang.org/cl/2335043
2010-09-24debug/proc: ... changes (fix build)Russ Cox
TBR=gri CC=golang-dev https://golang.org/cl/2229047
2010-08-30proc, eval: Don't assign address of an array to a slice.Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/2084041
2010-08-20syscall: regenerate syscall/z* files for linux/386, linux/amd64Ivan Krasin
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" Use <sys/user.h> instead of <linux/user.h> See http://gcc.gnu.org/ml/gcc-patches/2009-11/msg00834.html for more details. R=imkrasin, rsc CC=golang-dev https://golang.org/cl/1957041
2010-08-18build: no required environment variablesRuss Cox
R=adg, r, PeterGo CC=golang-dev https://golang.org/cl/1942044
2010-07-12fix buildRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1813042
2010-06-22debug/dwarf: update PDF link.Rob Pike
Fixes #881. R=iant CC=golang-dev https://golang.org/cl/1696044
2010-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1620042
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1326042
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman
R=rsc, Joe Poirier CC=golang-dev https://golang.org/cl/1015043
2010-04-11debug/elf: Fix doc commentsEvan Shaw
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/849049
2010-04-02debug/proc: fix typo in package documentationRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/829044
2010-04-01debug/macho: fix error message formatRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/836046
2010-04-01debug/macho: don't crash when reading non-Mach-O filesRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/838046
2010-03-30single argument panic on non-darwin and in commentsRuss Cox
R=r CC=golang-dev https://golang.org/cl/800042
2010-03-30simplify various code using new map index ruleRuss Cox
R=r CC=golang-dev https://golang.org/cl/833044
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer
- 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 #644. R=rsc, r CC=golang-dev https://golang.org/cl/241041
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
2010-02-04Added mingw specific build stubs.Joe Poirier
R=rsc CC=golang-dev https://golang.org/cl/198071
2010-02-03debug/gosym: fix test for new 6lRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/199091
2010-02-02Change type of Printf's args to ... interface{}Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/197043
2010-01-22eliminate the package global name space assumption in object filesRuss Cox
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 https://golang.org/cl/186263
2009-12-15 1) Change default gofmt default settings forRobert Griesemer
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 https://golang.org/cl/179067
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev https://golang.org/cl/163085
2009-11-24fix for broken build (built-in new was invisible due to a parameter called ↵Robert Griesemer
'new') R=iant https://golang.org/cl/160057
2009-11-24Change to container/vector interface:Robert Griesemer
- 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 #294. R=rsc, r, r1 https://golang.org/cl/157143
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia
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 #115. R=rsc, dsymonds1 https://golang.org/cl/157067
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox
R=r, gri CC=golang-dev https://golang.org/cl/156115
2009-11-17FreeBSD/i386 workDevon H. O'Dell
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc https://golang.org/cl/157055