Commit Graph

12 Commits

Author SHA1 Message Date
Kelvin Sherlock 18371d9c16 rebasing on updated code base. 2018-03-25 21:41:36 -04:00
MikeW50 0548a011a9
Merge pull request #15 from ksherlock/debugger_strings
refine debugger string types
2018-03-25 15:19:39 -06:00
MikeW50 d2791b3c53
Merge pull request #12 from ksherlock/empty_record_debugger_tables
Empty record debugger tables
2018-03-25 15:18:45 -06:00
MikeW50 33a05bd253
Merge pull request #9 from ksherlock/patch0005
debugger - bad code generated for array symbol tables
2018-03-25 15:15:46 -06:00
MikeW50 1c91c2f1d1
Merge pull request #8 from ksherlock/patch0004
records within records can generate a bad displacement in the debugger symbol table.
2018-03-25 15:15:22 -06:00
Kelvin Sherlock 6be050fcd2 previous code tried to encode a "packed array[..] of char" as a c-string. But it didn't actually work (it was never considered packed due to looking in the wrong place).
Additionally, this refines it so that
- packed array[1..x] of char is encoded as a c-string
- packed array[0..x] of char is encoded as a p-string
- packed array[a..x] of char (where a not in [1,2]) is not considered a string
- packed array[..] of boolean isn't considered a string
2018-03-24 22:24:05 -04:00
Kelvin Sherlock 6f88fe5cee records or objects without fields (including forward declared objects) generate bad debugger symbol tables since there is no terminating field.
This generates a fake FIELD field to compensate.
2018-03-16 21:04:26 -04:00
Kelvin Sherlock 1a89445ae7 debugger - bad code generated for array symbol tables
Fields are in the wrong order and it returns sizes for the array type rather than the element type.
2018-03-15 23:18:34 -04:00
Kelvin Sherlock 2805ff6877 records within records can generate a bad displacement in the debugger symbol table. 2018-03-15 23:15:42 -04:00
Kelvin Sherlock 012d936d3f when generating a debugger symbol table, GetTypeDisp returns 0 for not found or for a displacement of 0. Not good. This uses a noDisp/-1 const (as does ORCA/C). 2018-03-13 15:48:23 -04:00
Kelvin Sherlock cf72a073f8 cr / lf conversion. 2018-03-12 14:15:39 -04:00
mikew50 dbb32024b6 ORCA/Pascal 2.2 source from the Opus ][ CD 2018-03-11 20:21:14 -06:00