Hi there,
what is the recommended way of running the Ciao Prolog shell
under gdb? What I need to do is to find the cause of a segmentation
fault that is happening in some foreign language module.
In other words, here is what happens:
$ ciao
Ciao-Prolog 1.8 #2: Tue Oct 29 22:49:43 CET 2002
?- ensure_loaded(ppl_ciao).
yes
?- use_module(ppl_ciao).
yes
?- ppl_initialize.
yes
?- ppl_new_Polyhedron_from_dimension(c, 3, X).
{ERROR: segmentation violation}
{ Execution aborted }
?-
To proceed with my investigation I need to catch
that segmentation violation.
Thanks a lot
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara(a)cs.unipr.it
==============================================================================
Message: Address: Action:
help majordomo(a)clip.dia.fi.upm.es Info. on useful commands
subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list
unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list
<whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list
-----------------------------------------------------------------------------
Archived messages:
http://www.clip.dia.fi.upm.es/Mail/ciao-users/
-----------------------------------------------------------------------------