1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

GDB support: Add 'guile-backtrace' command.

* libguile/libguile-2.2-gdb.scm <top level>: Add 'register-command!' call.
This commit is contained in:
Ludovic Courtès 2018-06-24 23:40:08 +02:00
parent be08145569
commit 8209f0f5c0

View file

@ -339,6 +339,14 @@ if the information is not available."
(dump-vm-frame frame port))
(vm-frames)))
(register-command!
(make-command "guile-backtrace"
#:command-class COMMAND_STACK
#:doc "Display a backtrace of Guile's VM stack for the \
current thread"
#:invoke (lambda (self args from-tty)
(display-vm-frames))))
;;;
;;; Frame filters.