From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,1b0e337c9ace3fea X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.185.115 with SMTP id fb19mr2140082wic.0.1370022305582; Fri, 31 May 2013 10:45:05 -0700 (PDT) Path: fw11ni18030wic.0!nntp.google.com!goblin2!goblin.stu.neva.ru!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!.POSTED!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Debugging Programs under RT-11 Date: Fri, 31 May 2013 19:44:58 +0200 Organization: Update Computer Club Message-ID: References: <51a368d5$0$32108$14726298@news.sunsite.dk> <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> NNTP-Posting-Host: 74.125.57.36 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1370022305 24137 74.125.57.36 (31 May 2013 17:45:05 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Fri, 31 May 2013 17:45:05 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51a8c230.48580536@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2013-05-31 18:38, paramucho wrote: > On Thu, 30 May 2013 03:29:19 +0200, Johnny Billquist > 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 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
WHEN DO " 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