From 3230f5c740106826155635b51d331aca8b289eba Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 27 Jul 2025 16:40:55 +0200 Subject: [PATCH] Keep saving nodes only once, but make an exception for node 'all'. Fixes bug-799, at least partially (diffpair.cir is running again.). --- src/frontend/breakp2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend/breakp2.c b/src/frontend/breakp2.c index 8e2748a68..5a0e1856f 100644 --- a/src/frontend/breakp2.c +++ b/src/frontend/breakp2.c @@ -92,10 +92,11 @@ settrace(wordlist *wl, int what, char *name) continue; } - /* Don't save a nodename more than once */ + /* Don't save a nodename more than once, except for token 'all' */ if (db_type == DB_SAVE) { for (dbcheck = dbs; dbcheck; dbcheck = dbcheck->db_next) { - if (dbcheck->db_type == DB_SAVE && eq(dbcheck->db_nodename1, db_nodename1)) { + if (dbcheck->db_type == DB_SAVE && eq(dbcheck->db_nodename1, db_nodename1) && + !eq("all", db_nodename1)) { tfree(db_nodename1); goto loopend; }