This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Why Does "java_global_trees" Exist?


>>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:

Ranjit> Many a time have I been smitten/flummoxed by GDB
Ranjit> proclaiming a supposedly global variable to be non-existent
Ranjit> only to discover it being a macro aliasing one of the
Ranjit> elements of "java_global_trees".

Yeah, that is annoying.  If you have a gdb capable of macro expansion
(the newer ones are), you can build gcc with -g3 to work around this.
Unfortunately that still won't get perfect results since many of the
tree macros use statement expressions when compiled with checking
enabled (and gdb doesn't understand those).

Ranjit> Wild guess: is it to have a convenient root for
Ranjit> the GCC garbage collection mechanism?

AFAIK yes.

Tom


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