From d2d4f18adec336d48e3e9b1e2135ce8bc704550f Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Tue, 22 Oct 2024 09:56:06 -0700 Subject: [PATCH] Correct error message when debug frame extension limit exceeded --- src/dbgtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dbgtool.c b/src/dbgtool.c index 3f0dad7..ab6870f 100644 --- a/src/dbgtool.c +++ b/src/dbgtool.c @@ -589,8 +589,8 @@ void bt1(FX *startFX) { BT_morep; while ((fnobj->framename != ATOM_T) && (fx->alink != 11)) { if (fnum > URMAXFXNUM - 1) { - /* Internal buf overflow,more than 100 stacks */ - printf("***There are more than 100 stack frames.\n"); + /* Internal buf overflow, too many stack frames */ + printf("***There are more than %d stack frames.\n", URMAXFXNUM); printf( "If you want to continue, Uraid will smash its internal table for FX pointer. Do you " "accept?(Y or N)\n");