diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-07 19:12:53 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-07 19:12:53 +0000 |
commit | ee1c1421f064793a1ca1a559a27ac9620555a60f (patch) | |
tree | 86373b6e246d1940af8969d1ebcadc89128f8e7d /gcc/java | |
parent | 5698cf5c8bd7009c455b40630115856e85f78c59 (diff) | |
download | gcc-ee1c1421f064793a1ca1a559a27ac9620555a60f.tar.gz |
* class.c (push_class): By default, suppress debug output.
(finish_class): Enable debug output for classes we're emitting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/class.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 2a2b56abb48..f0a1126d478 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2005-04-07 Per Bothner <per@bothner.com> + + * class.c (push_class): By default, suppress debug output. + (finish_class): Enable debug output for classes we're emitting. + 2005-04-07 Andrew Haley <aph@redhat.com> * gcj.texi: Correct gcj-dbtool instructions. diff --git a/gcc/java/class.c b/gcc/java/class.c index 1c7c3ab018c..81ba75d7bc8 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -423,6 +423,7 @@ push_class (tree class_type, tree class_name) #endif CLASS_P (class_type) = 1; decl = build_decl (TYPE_DECL, class_name, class_type); + TYPE_DECL_SUPPRESS_DEBUG (decl) = 1; /* dbxout needs a DECL_SIZE if in gstabs mode */ DECL_SIZE (decl) = integer_zero_node; @@ -1906,6 +1907,7 @@ finish_class (void) java_expand_catch_classes (current_class); current_function_decl = NULL_TREE; + TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (current_class)) = 0; make_class_data (current_class); register_class (); rest_of_decl_compilation (TYPE_NAME (current_class), 1, 0); |