On 07/20/2017 07:31 AM, Nathan Sidwell wrote:

So I don't think I've made it worse there.   thoughts?

aha, gstabs+ for gnu extensions. With a small fix I get the following before and after (I changed the example to add another frob member).
(gdb) ptype X
type = struct X {
  public:
    int frob(int);
    int frob(float);
    X(int);
    X(int);
}

The fragment I'd missed is losing:
  /* Also ignore abstract methods; those are only interesting to
     the DWARF backends.  */
  if (DECL_IGNORED_P (decl) || DECL_ABSTRACT_P (decl))
    return;

which inhibits the abstract ctor.

nathan

--
Nathan Sidwell

Reply via email to