From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,1b0e337c9ace3fea X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.207.44 with SMTP id lt12mr3235566wic.5.1370919048719; Mon, 10 Jun 2013 19:50:48 -0700 (PDT) Path: hv6ni13489wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed10.multikabel.net!multikabel.net!newsfeed20.multikabel.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Debugging Programs under RT-11 Date: Tue, 04 Jun 2013 03:03:35 GMT Organization: Aioe.org NNTP Server Message-ID: <51ad5842.10986105@nntp.aioe.org> References: <51a3b6dd$0$32111$14726298@news.sunsite.dk> <51a411a5$0$32104$14726298@news.sunsite.dk> <51a4a750$0$32105$14726298@news.sunsite.dk> <51a4e2e9$0$32117$14726298@news.sunsite.dk> <51a6709f$0$32111$14726298@news.sunsite.dk> <51a8c230.48580536@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: yPe0Vz9rK3epnEf2vEo6yg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Fri, 31 May 2013 19:44:58 +0200, Johnny Billquist wrote: >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