From e2652d813d9669c5b4d2a673174ecca0f4b0efbb Mon Sep 17 00:00:00 2001 From: Brian Taylor Date: Thu, 15 Sep 2022 08:36:47 -0700 Subject: [PATCH] If ps_udevice_msgs >= 2, print complete line of unsupported PSpice instance. For debugging purposes. --- src/frontend/udevices.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/udevices.c b/src/frontend/udevices.c index 78ee4ba0c..97f6ef22f 100644 --- a/src/frontend/udevices.c +++ b/src/frontend/udevices.c @@ -3394,7 +3394,7 @@ BOOL u_check_instance(char *line) itype = hdr->instance_type; xspice = find_xspice_for_delay(itype); if (!xspice) { - if (ps_udevice_msgs == 1) { + if (ps_udevice_msgs >= 1) { if (current_subckt && subckt_msg_count == 0) { printf("%s\n", current_subckt); } @@ -3402,6 +3402,9 @@ BOOL u_check_instance(char *line) printf("WARNING "); printf("Instance %s type %s is not supported\n", hdr->instance_name, itype); + if (ps_udevice_msgs >= 2) { + printf("%s\n", line); + } } delete_instance_hdr(hdr); return FALSE;