bt full

info registers

# Loop the first 10 frames, which ought to be enough.
# If not, simply raise it to something higher.
set $i = 0
while $i < 10
  frame $i
  list
  info locals
  set $i = $i + 1
end

quit
