This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1854: Add a "set print" option to suppress printing empty base classes
- From: yasushi dot saito at gmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 27 Jan 2005 19:29:13 -0000
- Subject: c++/1854: Add a "set print" option to suppress printing empty base classes
- Reply-to: yasushi dot saito at gmail dot com
>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: