On Sun, 26 Apr 2020 17:03:20 UTC, Johann 'Myrkraverk' Oskarsson
<joh...@myrkraverk.invalid> wrote:
Hi Johann,
> Is this capability still existant in the OpenWatcom source tree?
It should be.
> Can
> I develop a trap file for my own, let's say interpreted, programming
> language, and debug the applications in wdw?
Probably. If the .trp file can control your interpreted language's
runtime, it should be possible.
> What are trap files, and are the sources still around?
For the gory details, see
dig\ shared debug support (debugger, trap files,
profiler)
dip\ debug info processor
mad\ machine architecture descriptions used by
debugger
trap\ debugger trap files (std.d32 etc.)
wv\ debugger (wvideo)
doc\ debugger internals docs
in the OpenWatcom sources. .trp files interface with the OpenWatcom
debugger to pass machine dependent debugging data to the OpenWatcom
debugger (wdw or wd) which are pretty much machine independent.
> And if I can develop a trap file for my programming language, is it
> possible to use wdw to automatically switch between the host language,
> and extensions written in C?
That's an interesting question. The debugger knows how switch between
assembler and C and Fortran (I think). Please let us know what you
find out.
Steven
--
---------------------------------------------------------------------
Steven Levine <
ste...@earthlink.bogus.net>
DIY/ArcaOS/Warp etc.
www.scoug.com www.arcanoae.com www.warpcave.com
---------------------------------------------------------------------