l...@gnu.org (Ludovic Courtès) skribis: > I’ve polished my potluck dish for inclusion into Guile proper. > > So the first patch below adds (system base type), which does type tag > decoding in a backend-independent manner. The guts of it is > ‘scm->object’, which takes an SCM bit pattern and returns the > corresponding Scheme object (so it essentially duplicates the object > when using the FFI back-end, and “transports” it into GDB when using the > GDB back-end.) There’s a test suite. > > The second patch adds the GDB-specific part, and installs it in the > place where GDB expects it so that the pretty-printer is installed out > of the box.
I pushed to ‘stable-2.0’ an improved version of these patches with better handling of cyclic data structures and better doc. Report any problems! Ludo’.