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:
parent
90fe975188
commit
6a95c8e77a
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue