mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* gds-client.scm (gds-debug-trap): Ensure that frame index passed to Emacs is always positive.
This commit is contained in:
parent
904fabb602
commit
b1860cb342
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-04-14 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* gds-client.scm (gds-debug-trap): Ensure that frame index passed
|
||||
to Emacs is always positive.
|
||||
|
||||
2008-03-19 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* debugging/ice-9-debugger-extensions.scm (command-loop): Use
|
||||
|
|
|
@ -73,7 +73,9 @@
|
|||
(slot-ref (car fired-traps) 'depth)))))
|
||||
;; Write current stack to the frontend.
|
||||
(write-form (list 'stack
|
||||
(or special-index 0)
|
||||
(if (and special-index (> special-index 0))
|
||||
special-index
|
||||
0)
|
||||
(stack->emacs-readable stack)
|
||||
(append (flags->emacs-readable flags)
|
||||
(slot-ref trap-context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue