In response to a request like "break function", gdb will currently
search all objfiles for "function" -- and the request will succeed
even if "function" is private.

This means that gdb cannot start using the debug_pubnames index without
also exhibiting different behavior.

So, it might be nice to have a corresponding "debug_privnames" section,
listing all private names.  Then, gdb could merge the two indices and
preserve the behavior its users are accustomed to.


-- 
           Summary: add a debug_privnames section
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39708

Reply via email to