public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11757] ptype class -> typedefs should display access control
       [not found] <bug-11757-4717@http.sourceware.org/bugzilla/>
@ 2023-12-17 13:32 ` ssbssa at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: ssbssa at sourceware dot org @ 2023-12-17 13:32 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=11757

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|7.1                         |8.1

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
This is working since gdb-8.1, was fixed by this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=c191a6875b118fce30e7dc4d9e4bd20eff850270

The output looks like this:
```
(gdb) pt C
type = struct C {
  private:
    a b;
    C::g h;
    C::D i;
  protected:
    a d;
  public:
    a f;

  private:
    typedef int a;
  protected:
    typedef int c;
  public:
    typedef int e;
}
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-17 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11757-4717@http.sourceware.org/bugzilla/>
2023-12-17 13:32 ` [Bug c++/11757] ptype class -> typedefs should display access control ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).