At Sat, 2 Feb 2013 23:24:38 +0100, Richard Braun wrote: > On Sat, Feb 02, 2013 at 07:51:38PM +0100, Gabriel Schnoering wrote: > > I can't run guile in gdb as there are some error with the garbage > > collector. > > These are probably not errors. Many language interpretors rely on > receiving SIGSEGV to implement memory. Use the gdb "handle" command to > make it automatically pass on SIGSEGV signals so that you only catch the > SIGILL you're interested in.
It might be an interesting project to use Mach Memory Objects to back garbage collected memory rather than rely on the SIGSEGV machinery. This would be more efficient and perhaps more accurate. You'd still have to deal with the stack separately. Neal