| commit | 3eac77a50024b49ee89436fa6f18c30ed64c3eeb | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Fri Oct 27 10:58:00 2023 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Tue Nov 21 14:52:05 2023 -0700 |
| tree | 30639ba713680f73763b0dfee0449442c1a57847 | |
| parent | 5028c9e206efd6b92ecefe1afc9dcf5cd4ebb1a6 [diff] |
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>