Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Debugging Programs under RT-11
Date: Thu, 06 Jun 2013 10:21:59 -0400	[thread overview]
Message-ID: <51b09b74$0$32118$14726298@news.sunsite.dk> (raw)
In-Reply-To: <koanj1$ni9$1@Iltempo.Update.UU.SE>

[-- Attachment #1: Type: text/plain, Size: 4116 bytes --]

 >Johnny Billquist wrote:

> >On 2013-05-31 18:38, paramucho wrote:
>
>> >On Thu, 30 May 2013 03:29:19 +0200, Johnny Billquist <bqt@softjar.se>
>> 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 <address> WHEN <expression> DO <action>"
>
> 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

[-- Attachment #2: Type: text/html, Size: 5445 bytes --]

  parent reply	other threads:[~2013-06-06 14:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27 14:05 Debugging Programs under RT-11 Jerome H. Fine
2013-05-27 18:50 ` glen herrmannsfeldt
2013-05-27 19:35   ` Jerome H. Fine
2013-05-27 21:23     ` Johnny Billquist
2013-05-28  2:06       ` Jerome H. Fine
2013-05-28  9:35         ` Johnny Billquist
2013-05-28 12:46           ` Jerome H. Fine
2013-05-28 14:33             ` Johnny Billquist
2013-05-28 16:56               ` Jerome H. Fine
2013-05-28 20:42                 ` Johnny Billquist
2013-05-29 21:15                   ` Jerome H. Fine
2013-05-30  1:29                     ` Johnny Billquist
2013-05-31 16:38                       ` paramucho
2013-05-31 17:44                         ` Johnny Billquist
2013-06-04  3:03                           ` paramucho
2013-06-04 18:57                             ` Johnny Billquist
2013-06-06 14:21                           ` Jerome H. Fine [this message]
2013-06-06 20:29                             ` Johnny Billquist
2013-05-28 16:25 ` paramucho
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox