This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [RFA]: Java Inferior Call Take 2


D'oh!

Andrew.


2004-06-21  Andrew Haley  <aph@redhat.com>

	* java-gimplify.c (java_gimplify_block): set TREE_USED on the new
	block.

Index: java-gimplify.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-gimplify.c,v
retrieving revision 1.4
diff -p -2 -c -r1.4 java-gimplify.c
*** java-gimplify.c	14 May 2004 02:29:32 -0000	1.4
--- java-gimplify.c	21 Jun 2004 15:13:41 -0000
*************** java_gimplify_block (tree java_block)
*** 178,181 ****
--- 178,186 ----
    block = make_node (BLOCK);
    BLOCK_VARS (block) = decls;
+ 
+   /* The TREE_USED flag on a block determines whether the debug ouput
+      routines generate info for the variables in that block.  */
+   TREE_USED (block) = 1;
+ 
    if (outer != NULL_TREE)
      {


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