public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15116] New: Cannot infcall function with function pointer parameter
@ 2013-02-07 20:14 jan.kratochvil at redhat dot com
  2013-02-21 18:05 ` [Bug c++/15116] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2013-02-07 20:14 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15116
           Summary: Cannot infcall function with function pointer
                    parameter
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
    Classification: Unclassified


void g() {}
void f(void (*p)()) {}
int main() { f(g); }

(gdb) p f(g)
Cannot resolve function f to any overloaded instance

-- 
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] 4+ messages in thread

end of thread, other threads:[~2013-03-15 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 20:14 [Bug c++/15116] New: Cannot infcall function with function pointer parameter jan.kratochvil at redhat dot com
2013-02-21 18:05 ` [Bug c++/15116] " tromey at redhat dot com
2013-03-15 17:11 ` cvs-commit at gcc dot gnu.org
2013-03-15 17:15 ` tromey 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).