From: Ralph Ronnquist Date: Thu, 17 Jun 2021 06:55:08 +0000 (+1000) Subject: disable all breakpoints initially X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;ds=inline;h=5387cfd8dc337d3b83d731c91a2359c4654018da;p=rrq%2Frrqforth.git disable all breakpoints initially --- 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