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: Thu, 30 May 2013 03:29:19 +0200	[thread overview]
Message-ID: <ko6a1g$3d0$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <51a6709f$0$32111$14726298@news.sunsite.dk>

On 2013-05-29 23:15, Jerome H. Fine wrote:
>  >Johnny Billquist wrote:
>> >On 2013-05-28 18:56, Jerome H. Fine wrote:
>>>  >Johnny Billquist wrote:
>>>> I don't think you understood me. The Symbolic Debugger is a product
>>>> from DEC. The various tools, debugger facilities and whatnot you
>>>> mention does not appear (to me) to be the same thing as the Symbolic
>>>> Debugger.
>>>>
>>>> See http://h18000.www1.hp.com/info/SP1278/SP1278PF.PDF for the SPD, or
>>>> read http://madame.update.uu.se/~bqt/dbgrel for the release
>>>> information, or http://madame.update.uu.se/~bqt/dbghlp for the help
>>>> file.
>>> While the command syntax seems different, the interface
>>> seems the same as offered by DBG.MAC under RT-11.
>>> If I had access to the source code file, I would be able
>>> to confirm the possibility that the same DBG.MAC file
>>> is used for both RSX-11 and RT-11.  Is there any
>>> possibility of that happening?
>> No idea. I don't have any sources. The Symbolic Debugger is a DEC
>> product, and only comes in binary form. Also, it understands both
>> MACRO-11, FORTRAN 77 and COBOL-81. In addition, it can perform all
>> kind of advanced things conditionally at breakpoints or tracepoints,
>> as well as managing breaks and traces in different overlays. (Even
>> when those overlays are not in memory when you give the commands.) It
>> uses a couple of hundred words of address space in your program, and
>> the rest is outside. It's not a device, and it does not freeze
>> anything else running. In fact, any user can run the symbolic debugger
>> concurrently with other users without interference.
>>
>> Does that sound like DBG.MAC?
>>
>> (I do wish I could find the sources for all kind of layered products,
>> but I have not had any luck so far.)
> If you read the RT-11 manual for the Symbolic Debugger
>
> http://bitsavers.trailing-edge.com/pdf/dec/pdp11/rt11/v5.6_Aug91/AA_HJ37C-TC_DBG-11_Symbolic_Debugger_Users_Guide_Aug91.pdf
>
> some of your questions might be answered.  While the user interface
> may be different, the results certainly seem the same.

Thanks. No, I had not read that manual before. But now, having done so, 
I dare say that there are no relationship between DBG-11 and the 
symbolic debugger product I'm talking about.

> In addition, Under RT-11, there is a separate program,
> DBGSYM.SAV, which is used to read the FOOBAR.STB
> file and set up the symbolic names.  If I understand the
> RSX-11 interface, the ";A" command initiates that operation.

Uh... No... (Where did you get that???)

First of all, the symbolic debugger automatically reads in the whole 
.STB file when you start running the program. No action at all is 
required on your part. Your symbols are just there, when you start your 
session. (Yes, the symbolic debugger figures out the correct STB file 
that matches your task file.) Second, in addition to global symbols, the 
symbolic debugger also handles local symbols. To manage this, a symbol 
is actually a path, as you might have several identical symbols in 
different modules. So a symbol is actually all the module names and the 
symbol name as a long string, with each component separated by a backslash.
And symbols can be expressed in relative or absolute form.

Finally, if you want to specify by hand which .STB file to use, the 
command is "SET STB filename"

If you want to define symbols of your own, the command is "DEFINE symbol 
= value".

> All in all, the file DBG.MAC probably has both RSX-11 and
> RT-11 specific code, parts of which are completely omitted
> depending on which operating system is the target.  DEC
> often seems to do this sort of thing.
>
> Can you confirm any of this?

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.

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.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


  reply	other threads:[~2013-05-30  1:29 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 [this message]
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
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