+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
(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