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

* [Bug c++/15116] Cannot infcall function with function pointer parameter
  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 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-02-21 18:05 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
         AssignedTo|unassigned at sourceware    |tromey at redhat dot com
                   |dot org                     |

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-02-21 18:05:01 UTC ---
Testing a patch.

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

* [Bug c++/15116] Cannot infcall function with function pointer parameter
  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
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2013-03-15 17:11 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2013-03-15 17:11:05 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-03-15 17:10:45

Modified files:
    gdb            : ChangeLog gdbtypes.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.cp: overload.cc overload.exp 

Log message:
    PR c++/15116:
    * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
    gdb/testsuite
    * gdb.cp/overload.cc (intintfunc): New.
    * gdb.cp/overload.exp: Add regression test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15278&r2=1.15279
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbtypes.c.diff?cvsroot=src&r1=1.249&r2=1.250
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3587&r2=1.3588
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.exp.diff?cvsroot=src&r1=1.29&r2=1.30

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

* [Bug c++/15116] Cannot infcall function with function pointer parameter
  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
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-03-15 17:15 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.7

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2013-03-15 17:15:05 UTC ---
Fixed.

-- 
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).