Ian Lance Taylor
807605d0fc
Only catch all signals if os/signal package imported.
...
Fixes #776 .
R=rsc
CC=golang-dev
https://golang.org/cl/1745041
2010-06-28 17:14:17 -07:00
Russ Cox
4843b130bb
runtime: avoid allocation for fixed strings
...
R=r
CC=golang-dev
https://golang.org/cl/1083041
2010-05-19 21:33:31 -07:00
Russ Cox
c3e54f0988
runtime: better trace for fault due to nil pointer call
...
R=r
CC=golang-dev
https://golang.org/cl/854048
2010-04-13 22:31:47 -07:00
Russ Cox
c60d048594
runtime: fix build (panic) for FreeBSD
...
R=adg
CC=golang-dev
https://golang.org/cl/867046
2010-04-08 21:13:42 -07:00
Russ Cox
5963dbac08
runtime: turn divide by zero, nil dereference into panics
...
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386.
freebsd untested; will finish in a separate CL.
for now all the panics are errorStrings.
richer structures can be added as necessary
once the mechanism is shaked out.
R=r
CC=golang-dev
https://golang.org/cl/906041
2010-04-08 18:15:30 -07:00
Russ Cox
6c196015e0
runtime: various arm fixes
...
* correct symbol table size
* do not reorder functions in output
* traceback
* signal handling
* use same code for go + defer
* handle leaf functions in symbol table
R=kaib, dpx
CC=golang-dev
https://golang.org/cl/884041
2010-04-05 12:51:09 -07:00
Russ Cox
08579c26dd
runtime: if os/signal is not in use, crash on
...
most signals, so that ordinary programs
can be killed, for example.
Fixes #434 .
R=dsymonds1
CC=golang-dev, hoisie
https://golang.org/cl/180064
2009-12-16 20:20:50 -08:00
David Symonds
b5866494ea
os/signal: new package
...
Fixes #71 .
R=rsc, r
https://golang.org/cl/162056
2009-12-15 18:21:29 -08:00
Devon H. O'Dell
cdce7325c8
When SA_SIGINFO is set, we should use __sa_sigaction on FreeBSD
...
R=rsc
CC=golang-dev
https://golang.org/cl/165097
2009-12-08 18:18:04 -08:00
William Josephson
1444f1bb1d
Missed a reference to sc instead of mc in 157065.
...
R=rsc, dho
https://golang.org/cl/157116
2009-11-20 13:46:47 -08:00
Devon H. O'Dell
7ada6018a7
FreeBSD's mcontext isn't exactly the same as sigcontext, so
...
we can't use them interchangably.
R=rsc, wjosephson
CC=golang-dev
https://golang.org/cl/156113
2009-11-20 13:08:16 -08:00
Devon H. O'Dell
b3f538a4fd
FreeBSD/i386 work
...
This patchset gets Go to pretty much the same state that
FreeBSD/amd64 is in.
R=rsc
https://golang.org/cl/157055
2009-11-17 23:58:51 -08:00