From 5387cfd8dc337d3b83d731c91a2359c4654018da Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Thu, 17 Jun 2021 16:55:08 +1000 Subject: [PATCH] disable all breakpoints initially --- debug.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debug.sh b/debug.sh index 4c4f4fd..5d630ee 100755 --- a/debug.sh +++ b/debug.sh @@ -15,7 +15,6 @@ echo "break *${RET[0]}" >> gdbinit # ;; rax = cfa of called word # ;; rsi = cell* of next forth word # ;; [$rsp] = from where the call was - cat <> gdbinit commands $((NBR+1)) print (void*) \$rsp @@ -24,6 +23,10 @@ print (char*)((*((void**)(*((void**)\$rsi)-16)))+32) end EOF +echo disable $NBR >> gdbinit +echo disable $((NBR+1)) >> gdbinit + + DS="$(grep "${PFX}DS_TOP:" rrqforth.map | sed 's/ .*//')" RS="$(grep "${PFX}RS_TOP:" rrqforth.map | sed 's/ .*//')" cat <> gdbinit -- 2.39.2