Comment 2 for bug 1871354

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Debug approach #1 (Thanks amurray)

handle SIGUSR1 noprint nostop
set follow-fork-mode child
set $outside = 1
catch syscall openat
commands
  silent
  set $outside = ! $outside
  if ($outside && $rax >= 0)
    continue
  end
  if ( !$outside )
    continue
  end
  if ($rax == -1 || $rax == -13)
    printf "`openat` returned a negative value %d\n",$rax
    bt
  else
    continue
  end
end

This was always too late ...