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 c++/18881] bogus 'Cannot resolve function foo to any overloaded instance'


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

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keiths at redhat dot com

--- Comment #1 from Keith Seitz <keiths at redhat dot com> ---
Is this still a problem? This appears to be working since 7.9:

$ ./gdb -ex 'b bar' -ex r -ex 'p FOO1(b)' -ex 'p FOO2(b)' \
  -ex 'p foo((A)b)' -ex 'p foo((A)b) ? foo((A)b) : foo((A)b)' ~/tmp/18881

Breakpoint 1, bar (b=0x7fffffffd9bf) at 18881.cc:14
14          if (FOO2 (b))
$1 = (const U *) 0x7fffffffd9bf
$2 = (const U *) 0x7fffffffd9bf
$3 = (const U *) 0x7fffffffd9bf
$4 = (const U *) 0x7fffffffd9bf
(gdb) show version
GNU gdb (GDB) 7.9.1.20150702-cvs
[snip]

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