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 symtab/17762] New: template lookup: partial syms vs syms differences


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

            Bug ID: 17762
           Summary: template lookup: partial syms vs syms differences
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

While debugging a failure in a sandbox I noticed odd behaviour with the
templates.exp testcase.

psyms have this (from mt print psym):

Baz<int, (char)'\\001>::baz

yet syms have Baz<int, (char)1>::baz

and while single stepping through symbol lookup via quick fns, the lookup
failed,
as expected, because the "(char)1" version was passed for lookup and was
compared with the "(char)'\\001'" version in the psym table.

Is there a real problem here?
Filing this so it's not forgotten.

-- 
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]