SBCL, GDB and CFFI
- From: Francogrex <franco@xxxxxxxx>
- Date: Tue, 17 Jan 2012 01:52:15 -0800 (PST)
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?
.
- Follow-Ups:
- Re: SBCL, GDB and CFFI
- From: D Herring
- Re: SBCL, GDB and CFFI
- Prev by Date: Re: GCL status ?
- Next by Date: Re: Disassemble an individual method
- Previous by thread: Lunch
- Next by thread: Re: SBCL, GDB and CFFI
- Index(es):
Relevant Pages
|