From 0ccd8943de2fe9b92b8f5759ba783916677d1dc6 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Fri, 21 May 2021 21:50:07 +1000 Subject: [PATCH] start with disabled breakpoints --- debug.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debug.sh b/debug.sh index 6ecb8ce..5963b30 100755 --- a/debug.sh +++ b/debug.sh @@ -3,8 +3,9 @@ PFX='0x[0-9a-f]* rrqforth.asm:[0-9]*[ ]*' grep "${PFX}do" rrqforth.map | sed 's/ .*//;s/^/break */' > gdbinit +NBR=( $(eval "echo {1..$(wc -l < gdbinit)}") ) -NBR=$(wc -l < gdbinit) +for I in ${NBR[@]} ; do echo disable $I ; done >> gdbinit DS="$(grep "${PFX}DS_TOP:" rrqforth.map | sed 's/ .*//')" -- 2.39.2