+++ This bug was initially created as a clone of Bug #371831 +++ http://sourceware.org/ml/gdb-patches/2007-12/msg00397.html GCC recently wanted to implement Java DW_TAG_interface_type (it was using DW_TAG_structure_type for everything): http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01659.html but DW_TAG_interface_type is so far completely unsupported by GDB: http://gcc.gnu.org/ml/gcc/2007-12/msg00576.html Therefore DW_TAG_interface_type has became disabled now upstream: http://gcc.gnu.org/ml/gcc/2007-12/msg00626.html But it would be nice to enable it for RHEL-5.2. GDB currently autodetects the interface type in java_type_print_derivation_info() according to ff it has virtual inheritance (I expect it is not ambiguous for Java). -- Additional comment from jakub on 2007-12-21 14:00 EST -- If RHEL5.2 gdb will handle it, Alex' patch can be backported. The fix has been accepted upstream.
Created attachment 290300 [details] Fix+testcase.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Committed to Rawhide CVS: * Mon Jan 7 2008 Jan Kratochvil <jan.kratochvil> - 6.7.1-7 - Support DW_TAG_interface_type the same way as DW_TAG_class_type (BZ 426600).
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0332.html