summaryrefslogtreecommitdiff
path: root/libguile/libguile-2.2-gdb.scm
Commit message (Expand)AuthorAgeFilesLines
* Adapt GDB integration to newest patches...* libguile/libguile-2.2-gdb.scm (vm-frame-function-name): Don't default to the address, as we will have better identifying info via the file name. (vm-frame-source): New helper. (compile-time-cond): For some reason "else" matching wasn't working; punt and use expressions. (snarfy-frame-decorator): Rename from decorator, and adapt to new version of Guile frame filter patch. (vm-frame-filter): Adapt to frame filter changes, and fill in source info. Andy Wingo2015-03-091-21/+35
* Struct and array GDB pretty printers hint as arrays...* libguile/libguile-2.2-gdb.scm (make-scm-pretty-printer-worker): (%scm-pretty-printer): Refactor to avoid printing all struct / array fields by hinting these as arrays. The resulting print is not as faithful to the original data, but that's probably OK. Andy Wingo2015-02-171-9/+53
* GDB support: add frame annotators and filters...These features depend on a patch to GDB that has not been merged yet. If GDB doesn't support the annotator/filter interface, the code have no effect. * libguile/libguile-2.2-gdb.scm (compile-time-cond): New helper. (snarfy-frame-annotator): Simple annotator that gives subr names for snarfed gsubrs. (vm-frame-filter): New filter that interleaves Scheme frames with C frames on the stack when the user asks for a backtrace. Andy Wingo2015-02-171-0/+91
* De-bitrot libguile-2.2-gdb.scm...* libguile/libguile-2.2-gdb.scm: Update to work with Guile 2.2 stacks. Represent the VM stack as a SRFI-41 stream, which will work better with the frame filter interface. Add support for getting the vm frame's function name, if possible. Andy Wingo2015-02-171-50/+155
* Merge branch 'stable-2.0'...Conflicts: GUILE-VERSION NEWS guile-readline/ice-9/readline.scm libguile/async.c libguile/backtrace.c libguile/deprecated.h libguile/gc-malloc.c libguile/gdbint.c libguile/init.c libguile/ioext.c libguile/mallocs.c libguile/print.c libguile/rw.c libguile/scmsigs.c libguile/script.c libguile/simpos.c libguile/snarf.h libguile/strports.c libguile/threads.c libguile/vm-i-scheme.c libguile/vm-i-system.c module/srfi/srfi-18.scm test-suite/Makefile.am test-suite/standalone/test-num2integral.c Mark H Weaver2014-04-251-0/+164