Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: paramucho@hotmail.com (paramucho)
Subject: Re: Debugging Programs under RT-11
Date: Tue, 04 Jun 2013 03:03:35 GMT	[thread overview]
Message-ID: <51ad5842.10986105@nntp.aioe.org> (raw)
In-Reply-To: koanj1$ni9$1@Iltempo.Update.UU.SE

On Fri, 31 May 2013 19:44:58 +0200, Johnny Billquist <bqt@softjar.se>
wrote:

<snip>

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

Oh well :-)

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

I had a look at that, and the other debuggers on your website. A lot
of good code. One of them has a very clean PDP-11 instruction emulator
to save time context switching back for single-step execution. I
didn't manage to work out how address traps were being handled though.

Looking at the trace-trap in the debuggers stuff I'm beginning to
think that I made my RUST/SJ implementation more complicated than it
needed to be. I often seemed to end up with wierd situations with
trace traps, but perhaps that's because the debugger runs in the same
CPU mode as the trace interrupt.

Apropos traps, the one trap I can't seem to intercept in RTX is stack
errors, which unconditionally aborts a task. I guess that makes sense
for 99.99% of applications.

I'd be interested in the RSX-specifics of how the two-program
implementations work because I guess they represent the O/S lore on
how to correctly manage memory management of other tasks and how you
get the mapping information for a separate task. I'm running out of
space in RTX for the RSX adaption (which was about 4kw) and there are
some non-essential features that I might be able to implement using
similiar techniques. I could use PLAS but I can't rely on that since
it might not have been sysgen'ed into a system.




Ian


  reply	other threads:[~2013-06-04  3:03 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 [this message]
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