Reworked version of Forth Source debugger (Mark Cave-Ayland)
commit44e2c94e2048752f628271245c5ac36df638750b
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 15 Nov 2009 21:03:51 +0000 (15 21:03 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 15 Nov 2009 21:03:51 +0000 (15 21:03 +0000)
tree6933571ba44cb2cae975e5d0c40af97453f53e6d
parent1fb2d1cbf8b18103026b1e1724dfb92faed912e6
Reworked version of Forth Source debugger (Mark Cave-Ayland)

This patch implements the following Forth words:

   debug <xt> - Mark word for debugging
   debug-off  - Unmark all words for debugging
   resume     - Return from subordinate Forth interpreter

The source debugger also implements the following commands when it has
been activated:

   Up - Unmark current word for debugging, mark parent and continue
   Down - Mark next word for debugging
   Trace - Continue execution until end of word displaying
           debug information
   Rstack - Display contents of the Rstack
   Forth - Launch subordinate Forth interpreter

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@611 f158a5a8-5612-0410-a976-696ce0be7e32
14 files changed:
arch/unix/gui_qt/gui-qt.cpp
arch/unix/plugins/plugin_qt/plugin_qt.cpp
forth/bootstrap/interpreter.fs
forth/debugging/firmware.fs
forth/lib/vocabulary.fs
include/openbios/kernel.h
include/openbios/stack.h
kernel/bootstrap.c
kernel/dict.c
kernel/include/dict.h
kernel/internal.c
kernel/primitives.c
kernel/stack.c
modules/cmdline.c