On Tue, Jul 19, 2011 at 12:17 PM, Philip Herron <redbrain@xxxxxxxxxxx> wrote: > debug_tree (tree) should so the job > > On 19 July 2011 10:28, konica sarker <konica.sarker@xxxxxxxxx> wrote: >> On Thu, Jul 7, 2011 at 9:11 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: >>> konica sarker <konica.sarker@xxxxxxxxx> writes: >>> >>>> ok. I have a very basic question. If you know, please reply me. >>>> suppore I have declared variables like : >>>> _X char a; >>>> char b: >>>> >>>> so, is there any way to find out that "a" is declared in "_X" address >>>> space, and "b" in generic address space? >>> >>> If adecl is the VAR_DECL corresponding to a, look at >>> >>> TYPE_ADDR_SPACE (TREE_TYPE (adecl)) >>> >>> I may have misunderstood your earlier question. Variables do have >>> address spaces. I thought you were talking about integers rather than >>> variables. >>> >>> Ian >>> >> >> Hello, >> >> is there any way to view the details of the tree? or printing a tree? >> like all the nodes, connectivity of each nodes...etc?? >> >> -konica >> > thanks, so, I have written it in my code, but how to watch?