commit 28d9ca8eae01a44e7f8c398f44f2f0a577c3d336
parent a9d3e06a57b4a77012efd6e38d67063c914b71b4
Author: Quentin Carbonneaux <quentin@c9x.me>
Date: Sun, 2 Apr 2023 15:20:16 +0200
print prefix for thread-local symbols
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/parse.c b/parse.c
@@ -1203,6 +1203,8 @@ printcon(Con *c, FILE *f)
case CUndef:
break;
case CAddr:
+ if (c->sym.type == SThr)
+ fprintf(f, "thread ");
fprintf(f, "$%s", str(c->sym.id));
if (c->bits.i)
fprintf(f, "%+"PRIi64, c->bits.i);