This is the mail archive of the gdb-prs@sources.redhat.com 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]

c++/1854: Add a "set print" option to suppress printing empty base classes


>Number:         1854
>Category:       c++
>Synopsis:       Add a "set print" option to suppress printing empty base classes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 27 19:38:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yasushi Saito
>Release:        6.3
>Organization:
>Environment:
Linux FC3
>Description:
I want an option to suppress printing the contents of an zero-size base class.

For example, say you derive a class from boost::totally_ordered or boost::noncopyable, whose sole purpose is to change the behavior or the derived class. If you  print an object of the derived class, you get a jumble of outputs that make reading the value difficult. 

It would be nice to have a option like "set print empty-base-class" or something to improve this situation.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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