gcc/libgo/go
Ian Lance Taylor 24f1d7f80e runtime: print C functions in traceback
Since gccgo can trace back through C code as easily as Go code, we
    should print C functions in the traceback.
    
    This worked before https://golang.org/cl/31230 for a dumb reason.  The
    default value for runtime.traceback_cache was, and is, 2 << 2, meaning
    to print all functions.  The old C code for runtime_parsedebugvars
    would return immediately and do nothing if the environment variable
    GODEBUG was not set (if GODEBUG was set it would later call
    setTraceback.  The new Go code for runtime.parsedebugvars does not
    return immediately if GODEBUG is not set, and always calls
    setTraceback.  Either way, if GOTRACEBACK is not set, setTraceback
    would set traceback_cache to 1 << 2, meaning to only print non-runtime
    functions and having the effect of not printing plain C functions.
    
    Keep the current handling of GODEBUG/GOTRACEBACK, which matches the gc
    library, but add an extra check to print C functions by default.
    
    Reviewed-on: https://go-review.googlesource.com/33717

From-SVN: r243083
2016-11-30 20:28:28 +00:00
..
archive Update libgo/configure to restore it to the master version. 2016-11-18 04:05:10 +00:00
bufio
builtin
bytes
cmd re PR go/77910 (go: open zversion.go: no such file or directory) 2016-11-22 21:04:27 +00:00
compress Update libgo/configure to restore it to the master version. 2016-11-18 04:05:10 +00:00
container
context
crypto
database/sql
debug debug/elf: add sparc64 relocations 2016-10-14 17:16:55 +00:00
encoding Update libgo/configure to restore it to the master version. 2016-11-18 04:05:10 +00:00
errors
exp Correct gcc/go/gofrontend/lex.cc and libgo/aclocal.m4 to the versions in the gofrontend repo... 2016-11-18 04:15:46 +00:00
expvar
flag
fmt
go
golang_org/x/net
hash
html
image
index/suffixarray
internal
io
log
math
mime
net
os
path
reflect runtime: rewrite panic/defer code from C to Go 2016-11-22 17:58:04 +00:00
regexp
runtime runtime: print C functions in traceback 2016-11-30 20:28:28 +00:00
sort
strconv
strings
sync
syscall
testing
text
time re PR go/78144 (FAIL: time on systems with tzdata2016g installed) 2016-10-28 20:21:52 +00:00
unicode