From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9e9f299a881137c6 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!z24g2000prh.googlegroups.com!not-for-mail From: parthaspanda22@gmail.com Newsgroups: comp.lang.ada Subject: Re: ASIS? Date: Fri, 26 Oct 2007 07:40:29 -0700 Organization: http://groups.google.com Message-ID: <1193409629.370716.268320@z24g2000prh.googlegroups.com> References: <1193392044.600378.120160@i13g2000prf.googlegroups.com> <877ilafaqw.fsf@ludovic-brenta.org> <4721db60$0$27834$39db0f71@news.song.fi> <1193403651.550238.61570@e9g2000prf.googlegroups.com> <4721ece5$0$27815$39db0f71@news.song.fi> NNTP-Posting-Host: 122.50.192.237 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1193409630 6394 127.0.0.1 (26 Oct 2007 14:40:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 Oct 2007 14:40:30 +0000 (UTC) In-Reply-To: <4721ece5$0$27815$39db0f71@news.song.fi> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z24g2000prh.googlegroups.com; posting-host=122.50.192.237; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2583 Date: 2007-10-26T07:40:29-07:00 List-Id: > You list various non-ASIS sources for the target- and > link-map-specific information (below). Your original query was: How? By extending the ASIS spec to include map file information, isnt the map file made redundant? Of course, it will require multiple tools in the chain to write to a common ASIS database. > > > If one were to need an API to fulfill all requirements by > > a Debugger, Source Browser and a Syntax-aware editor from > > the IDE, then would ASIS be it? > > It was the point "all requirements" to which I objected, but I must > have misunderstood or not noticed your phrase "... from the IDE", > which I now understand means "... apart from the information that > can be had from other sources". But there are some executable > program formats that include most of the ASIS-like information (for > C code, at least), so for such executable formats a debugger would > need no additional information from the IDE. It would be difficult to debug Generics or variant record types unless there were a HLL interface. I expect ASIS to atleast be able to address all Ada-specific syntactic sugar. (There is a link to JSIS, but alas, it leads to a useless site.) > > Anyway, your question and Ludovic's answer are sensible if one > assumes that the "other sources" are some limited executable format > such as ELF without DWARF. Yes, a debugger must still need access to a working executable for instrumentation. Machine-level debugging hasnt been pursued that extensively by processors, so executable instrumentation(i.e. SW debugging) is generally the norm. > > Yes, or the debugging info in the executable file. > > > 2) stack-frame > > > A lot of the information about stack are constants(e.g. the bias, > > the frame pointer register, the stack pointer register, > > the ABI) and these are hard-wired into the debugger. > > Depends on the target. Some ABIs are very flexible and let the > compiler do what it likes. The scope of my research precludes going on a path where the ABI is "flexible" but there are many examples of your point, so I cant agree more.