This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22990] GDB unable to find symbol definition for nested class with virtual methods


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

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-03-23
                 CC|                            |keiths at redhat dot com
          Component|gdb                         |c++
           Assignee|unassigned at sourceware dot org   |keiths at redhat dot com
     Ever confirmed|0                           |1

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
[Reclassifying to c++.]

I've tried your exact test case on HEAD with gcc version 7.3.1 20180130 (Red
Hat 7.3.1-2) (GCC) and gcc 4.9.4 (GCC), and I cannot reproduce this.

It appears that the patch for c++/22968 fixes the problem:

commit b7fee5a3268c340975a1dddb131733abfd153d5e (HEAD -> master, origin/master,
origin/HEAD)
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Mar 22 16:49:48 2018 -0700

Can you try this patch (or HEAD)?

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]