Commit 1a17651b by Jakub Jelinek Committed by Jakub Jelinek

lang.c (java_classify_record): Return RECORD_IS_INTERFACE for interfaces.

	* lang.c (java_classify_record): Return RECORD_IS_INTERFACE
	for interfaces.

From-SVN: r159835
parent 263d02e2
2010-05-25 Jakub Jelinek <jakub@redhat.com>
* lang.c (java_classify_record): Return RECORD_IS_INTERFACE
for interfaces.
PR debug/43260
* java-tree.h (pending_static_fields): New extern declaration.
(java_write_globals): New prototype.
......
......@@ -882,9 +882,7 @@ java_classify_record (tree type)
if (! CLASS_P (type))
return RECORD_IS_STRUCT;
/* ??? GDB does not support DW_TAG_interface_type as of December,
2007. Re-enable this at a later time. */
if (0 && CLASS_INTERFACE (TYPE_NAME (type)))
if (CLASS_INTERFACE (TYPE_NAME (type)))
return RECORD_IS_INTERFACE;
return RECORD_IS_CLASS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment