Skip to content

Commit b0f1f62

Browse files
committed
updated comment relating to LINE debug hunk
fixes for EDBG for current evo compiled executables
1 parent 3bd1ac5 commit b0f1f62

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

E-VO.S

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10689,7 +10689,8 @@ SRCFN: DC.L 0
1068910689
MOVE.L D2,A0
1069010690
MOVE.L 4(A0),D3
1069110691
MOVE.L 8(A5),D0
10692-
;OR.L #$4C000000,D0 no idea what this was
10692+
;OR.L #$4C000000,D0 ;old LXXX debug hunk
10693+
;MOVE.L D0,12(A0) ;updated to write to LINE offset field
1069310694
MOVE.L D0,8(A0)
1069410695
LSL.L #2,D3
1069510696
ADDQ.L #8,D3

tools/EDBG/eexe.e

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,10 @@ ENDPROC
234234
PROC grabvarinfo(src:PTR TO e_source,o:PTR TO INT,end)
235235
DEF pr=NIL:PTR TO e_proc,job,v,cnt,i,line
236236
WHILE (job:=o[]++) BUT o<end
237-
->WriteF('job=\d\n',job)
237+
//WriteF('job=\d\n',job)
238238
SELECT 9 OF job
239+
CASE 0
240+
239241
CASE 1,2
240242
o,v:=collectvars(o,pr.vars,src,pr,job)
241243
pr.vars:=v
@@ -445,10 +447,9 @@ PROC load(name,trap1,trap2) OF e_exe
445447
ldbg:=TRUE
446448
ELSE
447449
ldbg:=FALSE
448-
IF (o[]++<>0) THEN Raise("eexe")
450+
add:=o[]++
449451
IF o[]="LINE"
450-
add:=0
451-
452+
//use add from line above
452453
ELSEIF Char(o)="L"
453454
add:=o[] AND $FFFFFF
454455
ELSE

0 commit comments

Comments
 (0)