RE: [ng-spice] Debugging devices


To "'ng-spice@ieee.ing.uniroma1.it'" <ng-spice@ieee.ing.uniroma1.it>
From "Gillespie, Alan" <Alan.Gillespie@analog.com>
Date Wed, 9 May 2001 10:07:29 +0100
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it


>     I have tried to find out what is wrong with the diode, 
> but could you tell
> me how to debug shared libraries with gdb?

I don't know how to debug shared libraries, but there
is a --disable-shared option to ./configure, which should
stop it using the shared libraries.

I tried using this option before, but it failed with
linker errors. Now that I've learned a bit more about
the capabilities of the Unix linker, (from earlier
discussion on this list), I'd guess that the linker
just needs one of the object files or libraries repeated
or moved on it's command line.

I submited some "fixes" to the diode model a wee while
ago, but that was just a correction to the temperature
compensation used for the capacitance calculation. At
nominal temp. it shouldn't make any difference.

Also, do you appreciate that the "id" diode current is
only the "dc" current ? You have to ask for "capcur" to
get the current due to the capacitance.

Cheers,

Alan



Partial thread listing: