Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Debugging Programs under RT-11
Date: Fri, 31 May 2013 19:44:58 +0200	[thread overview]
Message-ID: <koanj1$ni9$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <51a8c230.48580536@nntp.aioe.org>

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

>> 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.

> 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.

	Johnny



  reply	other threads:[~2013-05-31 17:44 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 [this message]
2013-06-04  3:03                           ` paramucho
2013-06-04 18:57                             ` Johnny Billquist
2013-06-06 14:21                           ` Jerome H. Fine
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