[haiku-bugs] [Haiku] #8190: Debugger doesn't correctly handle anonymous unions within structs/classes

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Wed, 07 Dec 2011 03:35:15 -0000

#8190: Debugger doesn't correctly handle anonymous unions within structs/classes
-----------------------------------+------------------------------
 Reporter:  anevilyak              |        Owner:  bonefish
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Applications/Debugger  |      Version:  R1/Development
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 While attempting to debug error messages relating to invalid
 DW_AT_specification attributes with programs generated by our newer gcc4,
 I'm running into issues digging into what's actually going on because
 Debugger isn't properly able to represent the AttributeValue class.
 The anonymous union is simply shown as a blank value node that expands to
 another instance of the AttributeValue class with the same blank value
 node ad infinitum. At the moment I'm not really clear as to what's going
 on though, since the same union declared outside of a class works fine.
 Attached a simplified test program which reproduces the issue.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8190>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: