aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug
AgeCommit message (Collapse)Author
2009-11-05gofmt'ed debugRobert Griesemer
(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 Taylor
R=rsc, agl http://go/go-review/1016028
2009-11-02Fix cgo for GCC 4.4Adam Langley
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 #1. R=rsc, iant CC=go-dev http://go/go-review/1017003
2009-10-27files that are okay from the last gofmt roundRuss Cox
R=gri http://go/go-review/1015011
2009-10-23all of pkg now compiles, fixes a few more testsKai Backman
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 Cox
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 Cox
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 Clements
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 Cox
R=gri OCL=35485 CL=35488
2009-10-06gofmt on crypto, debugRuss Cox
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 Clements
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 Cox
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 Clements
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 Cox
similar tweaks to make debug/proc, net, os build. R=r DELTA=861 (855 added, 4 deleted, 2 changed) OCL=34877 CL=34890
2009-09-18fix build again; this time for sure. sighRuss Cox
TBR=r OCL=34803 CL=34803
2009-09-18fix build - missing fileRuss Cox
TBR=r OCL=34800 CL=34800
2009-09-18add DWARF method to elf.File.Russ Cox
test both ELF and Mach-O in dwarf package. R=r DELTA=83 (44 added, 10 deleted, 29 changed) OCL=34717 CL=34790
2009-09-18Mach-O file readingRuss Cox
R=r DELTA=784 (784 added, 0 deleted, 0 changed) OCL=34715 CL=34788
2009-09-17unused importsRuss Cox
R=r OCL=34731 CL=34731
2009-09-16parse and present DWARF type informationRuss Cox
R=r DELTA=940 (929 added, 1 deleted, 10 changed) OCL=34679 CL=34686
2009-09-15basic DWARF reading.Russ Cox
R=r DELTA=949 (949 added, 0 deleted, 0 changed) OCL=34676 CL=34678
2009-09-15final batch for "declared and not used"Russ Cox
* update mksyscall.sh and rebuild syscall/z*.go * fix a few linux-only files R=r DELTA=455 (12 added, 1 deleted, 442 changed) OCL=34637 CL=34655
2009-09-15more "declared and not used".Russ Cox
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-04Don't crash in Sym.ReceiverName for symbols like "x.x"Austin Clements
R=rsc APPROVED=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=34404 CL=34406
2009-09-03fix linux 386 buildRuss Cox
R=austin DELTA=140 (128 added, 0 deleted, 12 changed) OCL=34344 CL=34347
2009-09-03Fix uninstalling of breakpoints when a process exits. ProcessAustin Clements
exit is still handled poorly. R=rsc APPROVED=rsc DELTA=6 (6 added, 0 deleted, 0 changed) OCL=34288 CL=34315
2009-09-02fix buildRuss Cox
TBR=gri OCL=34264 CL=34264
2009-09-01make debug/proc "build" on more architecturesRuss Cox
R=austin DELTA=17 (0 added, 16 deleted, 1 changed) OCL=34213 CL=34218
2009-09-01import debug/gosym from usr/austin/symRuss Cox
R=austin DELTA=958 (956 added, 0 deleted, 2 changed) OCL=34180 CL=34212
2009-09-01import debug/proc from usr/austin/ptraceRuss Cox
R=austin DELTA=1892 (1892 added, 0 deleted, 0 changed) OCL=34183 CL=34197
2009-08-31elf file parserRuss Cox
R=austin DELTA=448 (447 added, 0 deleted, 1 changed) OCL=34139 CL=34150
2009-08-31package debug/binaryRuss Cox
R=austin DELTA=320 (320 added, 0 deleted, 0 changed) OCL=33983 CL=34143
2009-08-31translate C ld/elf.h into GoRuss Cox
R=austin DELTA=1630 (1630 added, 0 deleted, 0 changed) OCL=34001 CL=34142
1988-04-01last-minute fix: convert to ANSI CBrian Kernighan
R=dmr DELTA=3 (2 added, 0 deleted, 1 changed)
1988-04-01convert to Draft-Proposed ANSI CBrian Kernighan
R=dmr DELTA=5 (2 added, 0 deleted, 3 changed)
1974-01-20convert to CBrian Kernighan
R=dmr DELTA=6 (0 added, 3 deleted, 3 changed)
1972-07-18hello, worldBrian Kernighan
R=ken DELTA=7 (7 added, 0 deleted, 0 changed)