go/src
Rob Pike d6653fed98 http: use runtime/debug.Stack() to dump stack trace on panic.
Test output now looks like this:

2011/06/15 21:10:41 http: panic serving 127.0.0.1:59729: intentional death for testing
$GOROOT/src/pkg/http/server.go:495 (0x3f9f8)
        _func_004: buf.Write(debug.Stack())
$GOROOT/src/pkg/runtime/proc.c:1041 (0x12367)
        panic: reflect·call(d->fn, d->args, d->siz);
$GOROOT/src/pkg/http/serve_test.go:775 (0x5831b)
        _func_029: panic("intentional death for testing")
$GOROOT/src/pkg/http/server.go:575 (0x26366)
        HandlerFunc.ServeHTTP: f(w, r)
$GOROOT/src/pkg/http/server.go:541 (0x261a9)
        *conn.serve: c.handler.ServeHTTP(w, w.req)
$GOROOT/src/pkg/runtime/proc.c:178 (0x10a83)
        goexit: runtime·goexit(void)

with $GOROOT expanded, of course.

R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/4607051
2011-06-16 00:12:50 +10:00
..
cmd gofix: Fix inconsistent indentation in help output 2011-06-15 21:07:21 +10:00
lib9 lib9/create.c: delete unused variable 2011-04-13 23:12:48 -07:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach libmach: use the standardized format for designated initializers. 2011-06-06 06:56:09 +00:00
pkg http: use runtime/debug.Stack() to dump stack trace on panic. 2011-06-16 00:12:50 +10:00
Make.ccmd make: add nuke target for C commands and libs 2011-05-11 22:53:42 -04:00
Make.clib make: add nuke target for C commands and libs 2011-05-11 22:53:42 -04:00
Make.cmd make: add nuke target for C commands and libs 2011-05-11 22:53:42 -04:00
Make.common make: prevent rm provoking 'text file busy' errors. 2011-04-15 08:25:44 -04:00
Make.inc goinstall: handle $(GOOS) and $(GOARCH) in filenames 2011-03-07 10:54:53 -05:00
Make.pkg src: Make.pkg don't create $(TARGDIR) with goinstall. 2011-05-30 12:35:55 +10:00
all-qemu.bash all-qemu.bash: remove DISABLE_NET_TESTS 2011-04-26 00:16:12 -04:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash build: reenable clean.bash without gomake 2011-03-21 00:27:50 -03:00
env.bash build: stop early if commands are missing 2011-06-13 15:28:54 -04:00
make.bash make.bash: remove old bash version of gotest on Windows 2011-05-04 11:16:55 +10:00
quietgcc.bash quietgcc: fix typo, respect $TMPDIR 2011-05-25 13:20:50 -04:00
run.bash tutorial: replace the forever loops with finite counts in sieve programs. 2011-04-27 09:59:27 -07:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash version.bash: strip changeset hash from 'hg tags' output 2011-04-04 10:06:09 +10:00