This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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 mi/10683] New: Optionally drop "member access control" level in MI -var-list-children output


It would be nice if there were a way to (optionally) drop the artificial
'public/protected/private' levels that -var-list-children creates, as this would
help to reduce the number of round trips between a frontend and gdb.

One solution might be a new option:

  -var-list-children --all-values --no-member-access  <varname>

The left out values might even get re-added to the individual items such that
the result looks like

 
^done,numchild="1",children=[child={name="foo",exp="foo",numchild="1",value="{...}",type="Foo",access="protected"}]

-- 
           Summary: Optionally drop "member access control" level in MI -
                    var-list-children output
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: mi
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: andre dot poenitz at nokia dot com
                CC: gdb-prs at sourceware dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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