SBCL, GDB and CFFI



This is a specific SBCL question. Using ECL I can call a C shared
library using cffi, and use gdb with a pending breakpoint on the C
library to debug, hence I could using gdb to inspect the interaction
between lisp and C. I am unable to do the same thing using SBCL, it
always gives a segmentation fault when run from gdb, even when I build
it specifically with a ud2-breakpoint. Does anyone know if there is a
way to make gdb and sbcl interact successfully? If not, how can I use
sbcl's ldb to debug the C and lisp interactions through cffi?
.



Relevant Pages

  • Re: SBCL, GDB and CFFI
    ... So start sbcl as usual, get it ready to run the ... $ gdb /path/to/sbcl ...
    (comp.lang.lisp)
  • Re: HEADS UP: Merge of binutils 2.17
    ... Looks like lang/sbcl doesn't like new ld, here on amd64. ... More information about SBCL is available at. ...
    (freebsd-current)
  • Re: SBCL, GDB and CFFI
    ... library using cffi, and use gdb with a pending breakpoint on the C ... library to debug, hence I could using gdb to inspect the interaction ... I am unable to do the same thing using SBCL, ...
    (comp.lang.lisp)