>Johnny Billquist wrote: > >On 2013-05-31 18:38, paramucho wrote: > >> >On Thu, 30 May 2013 03:29:19 +0200, Johnny Billquist >> wrote: >> >>> I would say there seems to be no similarities between DBG-11 and the >>> symbolic debugger. DBG-11 have about the same capabilities and >>> syntax as >>> ODT under RSX, with the exception that ODT does not handle symbolic >>> names. XDT (the kernel debugger for RSX) comes even closer, as the >>> syntax is very much the same, and XDT also can handle some symbolic >>> address names in the kernel. >> >> XDT is based on DBG-11, the system independent PDP-11 debugger. > > At least in spirit. I don't know about actual code. Looking at the > source, the mention it's past history together with ODT. I am beginning to suspect that the RSX-11 version of the Symbolic Debugger Application is based on the same starting point as the version available under RT-11, but was substantially enhanced for RSX-11 based on RSX-11 demand, interest and usage. Under RT-11, the DEC managers may have decided that there was insufficient resources (mostly available memory) to implement the additional advanced features that you describe. In particular, the variant of DBG-11 available under a Mapped RT-11 Monitor seems to have reached the maximum possible use of extended memory (8192 bytes) which would have then required too much Low Memory to include additional features such as you describe to make it worth while to use. >> I note that the symbolic debugger is a layered product. DECUS DDT22 >> seems to have some similar capabilities. > > Right. > There are actually several DECUS packages that are a bit closer to the > symbolic debugger. I've extensively modified another one (DBG), which > is my most commonly used tools these days. > The things that most debuggers don't do, which the symbolic debugger > do is managing breakpoints in various overlays, even if they are not > currently loaded. That feature would certainly be much advanced over the last RT-11 version of DBG-11, but probably not beyond the capability to implement if the required resources were made available. Probably the one most important resource needed was some imaginative use of extended memory well beyond the current concepts. I don't think that any DEC version of an RT-11 device driver uses more than 8192 bytes of extended memory. That barrier would need to be broken. >>> The capabilities of the symbolic debugger far surpass all of this. I >>> suspect it is not possible to get that capability under RT-11. Oh well. >> >> Does the RSX symbolic debugger support an instruction history? > > No. I can't see why that would be very difficult except for the buffer to hold the history. For Ersatz-11, only 64 words are used, so it it not as helpful as a larger buffer would be. But John has never focused on an extensive debug capability for Ersatz-11. For another example, Ersatz-11 supports only a single breakpoint address, although having even one is 90% of what is needed and probably takes much less effort to extend as opposed to the code needed to support even one breakpoint. >> Is the debugger able to WATCH a location and trigger the debugger when >> the location changes? > > Partly indirectly. You can have breakpoints, which only stops the > program if a value have changed, for instance. But not generic > watchpoints. > > The syntax for setting a breakpoint is: > "SET BREAK
WHEN DO " > > There are some additional things you can do as well, but essentially > it means you can look for changes, but you can't make it happen > (reasonably) after each instruction. > > My modified decus debugger do support watchpoints, tracepoints, > history, profiling and some other nifty stuff. However, it does not > handle overlays any better than plain ODT. Did that decus debugger run only under RSX-11? What is the decus number and is a copy still available and where? And is your modified code available? Jerome Fine