From 89ae9e36a6d8da44efe774272a9e320c437a583f Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sun, 14 Jul 2013 18:49:25 +0200 Subject: [PATCH] shared ngspice, dctran.c fcn to add breakpoints --- src/spicelib/analysis/dctran.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/spicelib/analysis/dctran.c b/src/spicelib/analysis/dctran.c index 5ea34c4f1..97b8847d0 100644 --- a/src/spicelib/analysis/dctran.c +++ b/src/spicelib/analysis/dctran.c @@ -34,6 +34,9 @@ extern struct dbcomm *dbs; #include "ngspice/cluster.h" #endif +#ifdef SHARED_MODULE +extern int add_bkpt(void); +#endif #define INIT_STATS() \ do { \ @@ -132,6 +135,10 @@ DCtran(CKTcircuit *ckt, ckt->CKTbreaks[1] = ckt->CKTfinalTime; ckt->CKTbreakSize = 2; +#ifdef SHARED_MODULE + add_bkpt(); +#endif + #ifdef XSPICE /* gtri - begin - wbk - 12/19/90 - Modify setting of CKTminBreak */ /* Set to 10 times delmin for ATESSE 1 compatibity */