public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12328] New: Ignore "const" for non-reference/pointer scalar
@ 2010-12-16 17:34 keiths at redhat dot com
  2010-12-16 17:37 ` [Bug c++/12328] Can't set breakpoint on method taking const, non-reference/pointer scalar parameter keiths at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: keiths at redhat dot com @ 2010-12-16 17:34 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12328

           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


Source:

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

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

Example:
(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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-13  9:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-16 17:34 [Bug c++/12328] New: Ignore "const" for non-reference/pointer scalar keiths at redhat dot com
2010-12-16 17:37 ` [Bug c++/12328] Can't set breakpoint on method taking const, non-reference/pointer scalar parameter keiths at redhat dot com
2010-12-16 17:47 ` keiths at redhat dot com
2010-12-17 17:03 ` thahn01@t-online.de
2010-12-17 23:13 ` keiths at redhat dot com
2011-01-17  7:13 ` jan.kratochvil at redhat dot com
2011-02-06 18:17 ` jan.kratochvil at redhat dot com
2011-02-13  9:16 ` cvs-commit at gcc dot gnu.org
2011-02-13  9:24 ` jan.kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).