Skip to content
Commit 3eac77a5 authored by Tom Tromey's avatar Tom Tromey
Browse files

Simplify C++ type-printing



The C++ type-printing code had its own variant of the accessibility
enum.  This patch removes this and changes the code to use the new one
from gdbtypes.h.

This patch also changes the C++ code to recognize the default
accessibility of a class.  This makes ptype a bit more C++-like, and
lets us remove a chunk of questionable code.

Acked-By: default avatarSimon Marchi <simon.marchi@efficios.com>
Reviewed-by: default avatarKeith Seitz <keiths@redhat.com>
parent 5028c9e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment