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
This commit is contained in:
parent
263d02e208
commit
1a17651b23
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue