This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk 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]

[Bug general/5700] New: classes with static storage members fail to display value and type


class class_static
{
  static int int_var;
  static void set_int_var (int int_var) {};
} class_static_v;

yields:

(fhpd) print class_static_v
{
Error: frysk.value.CompositeType$StaticMember cannot be cast to
frysk.value.CompositeType$DynamicMember
(fhpd) print class_static_v -type
Internal Error: java.lang.ArrayStoreException
   at java.lang.System.arraycopy(libgcj.so.8rh)
   at java.util.ArrayList.toArray(libgcj.so.8rh)
   at frysk.value.CompositeType.members(fhpd)
   at frysk.value.GccStructOrClassType.isClassLike(fhpd)
   at frysk.value.GccStructOrClassType.getPrefix(fhpd)
   at frysk.value.CompositeType.toPrint(fhpd)
   ...

-- 
           Summary: classes with static storage members fail to display
                    value and type
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: scox at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5700

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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