Browse Source

subdaemons: copy backtraces to stderr.

We didn't get the entire thing in the parent when gossipd crashed: stderr
is suitable for these I think.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
30faa6485a
  1. 2
      common/subdaemon.c

2
common/subdaemon.c

@ -18,6 +18,8 @@ static int backtrace_status(void *unused UNUSED, uintptr_t pc,
const char *filename, int lineno,
const char *function)
{
fprintf(stderr, "backtrace: %s:%u (%s) %p\n",
filename, lineno, function, (void *)pc);
status_trace("backtrace: %s:%u (%s) %p",
filename, lineno, function, (void *)pc);
return 0;

Loading…
Cancel
Save