Skip to content

Instantly share code, notes, and snippets.

@mechairoi
Created September 30, 2011 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mechairoi/1253711 to your computer and use it in GitHub Desktop.
Save mechairoi/1253711 to your computer and use it in GitHub Desktop.
define dump_emacs_bt
set $t = backtrace_list
while $t
print *(struct Lisp_String *)(((struct Lisp_Symbol *)(*($t->function)-2))->xname -1)
set $t = $t->next
end
end
document dump_emacs_bt
dumps the current frame stack. usage: dump_emacs_bt
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment