comp.lang.ada
 help / color / mirror / Atom feed
From: parthaspanda22@gmail.com
Subject: Re: ASIS?
Date: Fri, 26 Oct 2007 06:00:51 -0700
Date: 2007-10-26T06:00:51-07:00	[thread overview]
Message-ID: <1193403651.550238.61570@e9g2000prf.googlegroups.com> (raw)
In-Reply-To: <4721db60$0$27834$39db0f71@news.song.fi>

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










  reply	other threads:[~2007-10-26 13:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26  9:47 ASIS? parthaspanda22
2007-10-26 10:09 ` ASIS? Ludovic Brenta
2007-10-26 11:58   ` ASIS? parthaspanda22
2007-10-26 12:10     ` ASIS? parthaspanda22
2007-10-26 12:29   ` ASIS? Niklas Holsti
2007-10-26 13:00     ` parthaspanda22 [this message]
2007-10-26 13:43       ` ASIS? Niklas Holsti
2007-10-26 14:40         ` ASIS? parthaspanda22
2007-10-27 12:21           ` ASIS? Niklas Holsti
2007-10-27  0:15     ` ASIS? Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox