[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug the scheme/guile interpreter?

From: Noah Lavine
Subject: Re: How to debug the scheme/guile interpreter?
Date: Wed, 9 Jan 2013 22:41:53 -0500

There's a script in the 'meta' directory of the Guile sources called 'gdb-uninstalled-guile'. I believe it sets up whatever environment variables need setting and then calls gdb for you. I've used it to debug Guile in the past.

Thanks a lot for tracking down this bug

Noah Lavine

On Wed, Jan 9, 2013 at 10:39 PM, Nala Ginrut <address@hidden> wrote:
On Wed, 2013-01-09 at 21:59 -0500, Peter Teeson wrote:
> Greetings:
> Mac Pro 4,1 - MacOS 10.7.5
> I filed bug <> and Ludo' invited me to investigate which I've been doing,
> including reading the other bugs on this problem,
> My conclusion at this time, after a number of experiments, is that the issue is not in the llvm compiler but somewhere in the interpreter.
> I am not familiar with the scheme or guile languages but have been a (now retired) developer on Mac for 25 years.
> Before that 14 years on IBM mainframes as a systems programmer working on an APL interpreter.
> I would like to try and track down this old issue but don't know how to debug the scheme/guile interpreter.
> Looked in the guile manual but didn't find anything that helped me.
> Please give me some pointers on how to proceed.
> Peter

hi Peter!
I know nothing about that bug. But if you want to use GDB to debug with
Guile code, you may need 'gdbinit' which is in the toplevel guile src
Say, 'gdb -x gdbinit', then you can use 'gwrite' to print out the SCM
type vars's value for your debugging.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]