diff options
author | Tom Tromey <tromey@adacore.com> | 2023-10-27 10:58:00 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-11-21 14:52:05 -0700 |
commit | 3eac77a50024b49ee89436fa6f18c30ed64c3eeb (patch) | |
tree | 30639ba713680f73763b0dfee0449442c1a57847 /gdb/python | |
parent | 5028c9e206efd6b92ecefe1afc9dcf5cd4ebb1a6 (diff) | |
download | binutils-3eac77a50024b49ee89436fa6f18c30ed64c3eeb.zip binutils-3eac77a50024b49ee89436fa6f18c30ed64c3eeb.tar.gz binutils-3eac77a50024b49ee89436fa6f18c30ed64c3eeb.tar.bz2 |
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: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions