------- Comment #1 from drow at gcc dot gnu dot org 2009-06-22 15:45 ------- Subject: Re: New: add a debug_privnames section
On Thu, Apr 09, 2009 at 11:58:59PM -0000, tromey at gcc dot gnu dot org wrote: > 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. I believe I've seen another vendor compiler generate a private names table. I don't remember what compiler it was, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39708