Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 65648 invoked from network); 30 Nov 2007 07:22:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2007 07:22:14 -0000 Received: (qmail 77961 invoked by uid 500); 30 Nov 2007 07:22:01 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 77939 invoked by uid 500); 30 Nov 2007 07:22:01 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 77930 invoked by uid 99); 30 Nov 2007 07:22:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 23:22:01 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.harmony@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2007 07:21:42 +0000 Received: by wa-out-1112.google.com with SMTP id k22so2754086waf for ; Thu, 29 Nov 2007 23:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=niuCFG5DrATSzrXbs2l6pVrVQf/cymKDDze0WGTOEQk=; b=XCijfG9Vg+s0ihZEO6WPG6bBJqRkAsXoG4KgfKjel5AkWQnH2XkQ491+p7QHadMh4W/U3PIrTDJWu8K8iS7SXmO69FlJGy9OJDG2QgxW+gx6AivG3Cz1tgH0WDmUP0UbkLSYcN/YP3DTw3a7eKFkWTQXGW3ekprvgXZxL8xQFjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=i0z5ydp0LVKqIP7AmQXcz3kQVJ4ta1wpxKMkfWF6z7nDbBdjYDFIvuQ5NeESTWIRiiioThUkEt/GYisldFxx5QJS/EVkic/f6Eo6ddt7wyJiD0HRStCesmNa5/5OG0kfWtw5qmncMrGVPDKgey2+Iqu2zHUWTJ5SypRrWJ3dHZ8= Received: by 10.115.15.1 with SMTP id s1mr639065wai.1196407304871; Thu, 29 Nov 2007 23:21:44 -0800 (PST) Received: by 10.114.161.3 with HTTP; Thu, 29 Nov 2007 23:21:44 -0800 (PST) Message-ID: <3db9f87f0711292321y4217b4dbh38865c41d5a4f717@mail.gmail.com> Date: Fri, 30 Nov 2007 15:21:44 +0800 From: "Simon Chow" To: dev@harmony.apache.org Subject: [drlvm][gc] initialization of global var: tm_self_tls MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16364_26519646.1196407304905" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_16364_26519646.1196407304905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am studying Harmony DRLVM code as a beginner. When I was debugging the gc module, This method: hy_inline hythread_t VMCALL hythread_self() { return tm_self_tls; } in hythread.h:515 is called frequenctly But I am not sure whether tm_self_tls is a global var or a macro defined in other file. I tried to use "si" of gdb before this method returned, but it seem go to some asm code without source information. I am confused here. -- >From : Simon.Chow@Software School of Fudan University ------=_Part_16364_26519646.1196407304905--