From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14894 invoked by alias); 7 May 2007 19:44:24 -0000 Received: (qmail 14886 invoked by uid 22791); 7 May 2007 19:44:23 -0000 X-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_50,BOTNET_SERVERWORDS,BOTNET_SOHO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 May 2007 19:44:21 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l47JiJpU030736 for ; Mon, 7 May 2007 15:44:19 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l47JiH9G007918; Mon, 7 May 2007 15:44:18 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l47JiGYs020700; Mon, 7 May 2007 15:44:16 -0400 Message-ID: <463F8191.1000903@redhat.com> Date: Mon, 07 May 2007 21:32:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: Sami Wagiaalla , frysk Subject: frame->function Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00128.txt.bz2 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