Re: MI varobj artificial fields

Daniel Jacobowitz
2008-04-16T18:37:10Z

On Wed, Apr 16, 2008 at 11:21:53AM -0700, Jim Ingham wrote:
> Yeah, I think this was just added so you get the organization for free.
> Note that if you go switch to an attribute, the UI is going to have to
> reorder the variables to get all the private ones together, etc.

Is that really what you'd want? GDB's ptype will group things by
protection in the order they're present anyway, repeating protections
if that's what the source did. I think this is much more logical.

class foo
{
public:
int a;

private:
int b;

public:
int c;
};

--
Daniel Jacobowitz
CodeSourcery