* frame->function
@ 2007-05-07 21:32 Andrew Cagney
2007-05-09 15:06 ` frame->function Stan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2007-05-07 21:32 UTC (permalink / raw)
To: Sami Wagiaalla, frysk
Sami,
Just FYI, here's an ASCII version of the frame/function relationship
diagram:
.---FRAME--1:N--FUNCTION--1:N--BLOCK--1:N--VARIABLE
| | \ | \
`----' \ | 1:N
1:N | \
\ | `PARAMETER
\ |
FILE/LINE/COL
that is:
- an ABI stack frame has inner/outer FRAME
- an ABI stack frame, has one-or-more source function/method associated
with it - more than one due too inlining
- A "function" has one or more "block scopes" associated with it
- A block-scope than has one or more variables associated with it
and: A frame as one-or-more FILE/LINE/COL's due to inlining ;; and the
FUNCTION will also point into that same info - so that one can tell
which function a file
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: frame->function
2007-05-07 21:32 frame->function Andrew Cagney
@ 2007-05-09 15:06 ` Stan Cox
2007-05-09 18:01 ` frame->function Sami Wagiaalla
0 siblings, 1 reply; 3+ messages in thread
From: Stan Cox @ 2007-05-09 15:06 UTC (permalink / raw)
To: Frysk List
There is a start to an infrastructure in frysk-core/frysk/rt that is
currently being setup by SymTab.java#SetProgram.setSubprogram
> - an ABI stack frame has inner/outer FRAME
Frame.java
> - an ABI stack frame, has one-or-more source function/method associated
> with it - more than one due too inlining
Subprogram.java
> - A "function" has one or more "block scopes" associated with it
LexicalBlock.java
> - A block-scope than has one or more variables associated with it
Variable.java
> and: A frame as one-or-more FILE/LINE/COL's due to inlining ;; and the
> FUNCTION will also point into that same info - so that one can tell
> which function a file
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: frame->function
2007-05-09 15:06 ` frame->function Stan Cox
@ 2007-05-09 18:01 ` Sami Wagiaalla
0 siblings, 0 replies; 3+ messages in thread
From: Sami Wagiaalla @ 2007-05-09 18:01 UTC (permalink / raw)
To: Stan Cox; +Cc: Frysk List
Stan thanx for the pointers... i'll take a look.
Sami Wagiaalla
Stan Cox wrote:
> There is a start to an infrastructure in frysk-core/frysk/rt that is
> currently being setup by SymTab.java#SetProgram.setSubprogram
>
>
>> - an ABI stack frame has inner/outer FRAME
>>
>
> Frame.java
>
>
>> - an ABI stack frame, has one-or-more source function/method associated
>> with it - more than one due too inlining
>>
>
> Subprogram.java
>
>
>> - A "function" has one or more "block scopes" associated with it
>>
>
> LexicalBlock.java
>
>
>> - A block-scope than has one or more variables associated with it
>>
>
> Variable.java
>
>
>> and: A frame as one-or-more FILE/LINE/COL's due to inlining ;; and the
>> FUNCTION will also point into that same info - so that one can tell
>> which function a file
>>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-09 15:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07 21:32 frame->function Andrew Cagney
2007-05-09 15:06 ` frame->function Stan Cox
2007-05-09 18:01 ` frame->function Sami Wagiaalla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).