harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Chow" <simon.harm...@gmail.com>
Subject [drlvm][gc] initialization of global var: tm_self_tls
Date Fri, 30 Nov 2007 07:21:44 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message