From 36f23f3aece56990faa6cf43cbb8f15eccdd8417 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 3 Jun 2018 10:46:29 -0500 Subject: [PATCH] lnkDebug fix: Initialize child link's precord pointer --- src/std/link/lnkDebug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/std/link/lnkDebug.c b/src/std/link/lnkDebug.c index 9ede69cb2..96ce5e5c1 100644 --- a/src/std/link/lnkDebug.c +++ b/src/std/link/lnkDebug.c @@ -346,6 +346,7 @@ static void delegate_openLink(struct link *plink) printf("Link trace: Calling %s::openLink(%p = jlink %p)\n", dlink->child_jlif->name, clink, clink->value.json.jlink); + clink->precord = plink->precord; clset->openLink(clink); if (dlink->trace)