This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: regarding tree format.


Hi,
	There is a file named .gdbinit in the gcc directory. it has a
list of functions that can be of use. 

For seeing the trees use 
debug_tree.
It takes as argument the node of the tree you want to inspect.

Hope it helps.
Warm regards
Krishna

On Sun, 13 Jan 2002, rashmi kankaria wrote:

#hi, 
#
# we are debugging gcc and trying to 
#understand its internals using gdb (and ddd.)
#we have read gcc manual and currently reading 
#tree.c/.h.def.
#can you suggest anything else which will help 
#us to know the tree format better and 
#precisely.
#
#also there is a file called print-tree.c to 
#make the tree format available in human 
#readable format.. but i cud not find any 
#option in gdb to print the tree.. pls help me 
#with this...cos this will help us a lot.
#
#thanking you,
#rashmi
#
#
#

-- 
Key fingerprint = FBA9 8F1D D026 74DC 8D47  4A6D 1009 1D68 BBF9 31A8
---
Homepage:http://www.cs.purdue.edu/homes/nvk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]