[comp.sys.transputer] TDS Debugger

wca@cs.exeter.ac.uk (Cai Wen Tong) (03/08/90)

Could anyone out there answer these questions?

1. Is there any way to deliberately modify (insert some extra 
   transputer instructions to) the filed folds '...code' (.dcd 
   file, object code) and '...CODE EXE xxx' (.cex file, linked 
   and extracted code)? I would like insert some code at
   transputer instruction level (for debugging purpose) without
   changing the program source (the insertion is transparent to the
   user), and intend to let the modified executable code run 
   without re-compilation. Any suggestions (I know the occam 
   compiler is the best candidate to do this. But, ...)?

2. How does the TDS debugger's symbolic function work? There is a 
   simple description in the 'Transputer Development System' by INMOS
   (page 107), but I would like to know more details, especially 
   concerning how the debugger can locate a line on the program 
   source and resume the symbolic function (back to the fold editing)
   just according to the Iptr and Wdesc supplied. If the Iptr and
   Wdesc can be obtained while the program is running, is it possible 
   to display the source in the same way as the TDS debugger does?

Any answers are welcome. Thanks in advance.


--
______________________________________________________________________________
| Wentong Cai,                           | JANET:  wca@uk.ac.exeter.cs       |
| Comp. Sci. Dept., Exeter Univ.,        | UUCP:   wca@expya.uucp            |
| Devon, EX4 4PT, UK. TEL: (0392) 264061 | BITNET: wca%uk.ac.exeter.cs@ukacrl|