[GRASS5] debugging of shared libs

Some debugging related question:

I'm trying to update Sorokine's Java4grass work for Grass 5.x in linux Suse
8.2. I got into some troubles (since the source was written on Solaris) and
need to debug a shared library, which is called from Java through JNI. The C
- lib is compiled for sure with the debugging option, but when I call it with
ddd, I'm not able to see the source:

DDD: no source
/tmp/ccpQSO9i.s: No such file or directory

Has anyone any hint?

Thanks
Andrea

--
____________________________________________________________________________

University of Trento
Department of Civil and Environmental Engineering
Via Mesiano, 77 - Trento (ITALY)

Andrea Antonello
tel: +393288497722
fax: +390461882672
email:antonell@ing.unitn.it
____________________________________________________________________________

On Fri, Jun 06, 2003 at 02:19:17PM +0200, moovida wrote:

Some debugging related question:

I'm trying to update Sorokine's Java4grass work for Grass 5.x in linux Suse
8.2. I got into some troubles (since the source was written on Solaris) and
need to debug a shared library, which is called from Java through JNI. The C
- lib is compiled for sure with the debugging option, but when I call it with
ddd, I'm not able to see the source:

DDD: no source
/tmp/ccpQSO9i.s: No such file or directory

There is a way in gdb to give extra paths for sources
over options. Maybe you find something in the documentation.