Re: libgo patch committed: Use libbacktrace

2012-10-07 Thread Ian Lance Taylor
On Sun, Oct 7, 2012 at 7:05 AM, Andreas Schwab wrote: > Ian Lance Taylor writes: > >> +/* Set *VAL to the value of the symbol for PC. */ >> + >> +static _Bool >> +__go_symbol_value (uintptr_t pc, uintptr_t *val) >> +{ >> + *val = 0; >> + backtrace_syminfo (__go_get_backtrace_state (), pc, symi

Re: libgo patch committed: Use libbacktrace

2012-10-07 Thread Andreas Schwab
Ian Lance Taylor writes: > +/* Set *VAL to the value of the symbol for PC. */ > + > +static _Bool > +__go_symbol_value (uintptr_t pc, uintptr_t *val) > +{ > + *val = 0; > + backtrace_syminfo (__go_get_backtrace_state (), pc, syminfo_callback, > + error_callback, &val); > + re

Re: libgo patch committed: Use libbacktrace

2012-10-04 Thread Ian Lance Taylor
On Thu, Oct 4, 2012 at 5:11 AM, Rainer Orth wrote: > Ian Lance Taylor writes: > >> This patch to libgo changes it to use libbacktrace. Previously >> backtraces required the Go package debug/elf to register itself with the >> runtime during the package initialization, which only worked if the >>

Re: libgo patch committed: Use libbacktrace

2012-10-04 Thread Rainer Orth
Ian Lance Taylor writes: > This patch to libgo changes it to use libbacktrace. Previously > backtraces required the Go package debug/elf to register itself with the > runtime during the package initialization, which only worked if the > program actually imported debug/elf one way or another. Bo

libgo patch committed: Use libbacktrace

2012-09-28 Thread Ian Lance Taylor
This patch to libgo changes it to use libbacktrace. Previously backtraces required the Go package debug/elf to register itself with the runtime during the package initialization, which only worked if the program actually imported debug/elf one way or another. Bootstrapped and ran Go testsuite on