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!e9g2000prf.googlegroups.com!not-for-mail From: parthaspanda22@gmail.com Newsgroups: comp.lang.ada Subject: Re: ASIS? Date: Fri, 26 Oct 2007 06:00:51 -0700 Organization: http://groups.google.com Message-ID: <1193403651.550238.61570@e9g2000prf.googlegroups.com> References: <1193392044.600378.120160@i13g2000prf.googlegroups.com> <877ilafaqw.fsf@ludovic-brenta.org> <4721db60$0$27834$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 1193403652 20511 127.0.0.1 (26 Oct 2007 13:00:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 Oct 2007 13:00:52 +0000 (UTC) In-Reply-To: <4721db60$0$27834$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: e9g2000prf.googlegroups.com; posting-host=122.50.192.237; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2580 Date: 2007-10-26T06:00:51-07:00 List-Id: > I thought ASIS only has "high-level" information prior to the > target-dependent object-code generation and linking. I think the > debugger will need the link map, information about the stack frame > layouts, record layouts, etc, which is not in the ASIS domain. Am I > wrong? > 1) link map: The missing part is in linking a relocatable address to a symbol name and vice-versa. (The map file provides this feature). It isnt difficult to extend ASIS to emit a record that augments symbol information by providing a new field whose type is the target machine's `C' intptr(defined as an integral type wide enough to represent an address). 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. 3) record layouts Again, this is in the domain of the ABI, so no query needs to be made to ASIS to tell the record layout. There may be two variants though: packed and otherwise.