[Bug c++/12328] New: Ignore "const" for non-reference/pointer scalar

keiths at redhat dot com sourceware-bugzilla@sourceware.org
Thu Dec 16 17:34:00 GMT 2010


           Summary: Ignore "const" for non-reference/pointer scalar
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: keiths@redhat.com


class myclass
  static void func(const int aa) {};

main (int argc, char *argv[])
  myclass::func (42);

(gdb) break myclass::func
the class myclass does not have any method named func
Hint: try 'myclass::func<TAB> or 'myclass::func<ESC-?>
(Note leading single quote.)
Make breakpoint pending on future shared library load? (y or [n]) n

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Gdb-prs mailing list