public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30209] New: Inconsistency between lambdas' signatures and that of the function they are in
@ 2023-03-07 15:47 jengelh at inai dot de
0 siblings, 0 replies; only message in thread
From: jengelh at inai dot de @ 2023-03-07 15:47 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30209
Bug ID: 30209
Summary: Inconsistency between lambdas' signatures and that of
the function they are in
Product: gdb
Version: 12.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: jengelh at inai dot de
Target Milestone: ---
Moved from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109020
== Input ==
$ cat x.cpp
#include <stdint.h>
static void ff(uint64_t b) { [&](){}(); }
int main() { ff(0); }
$ nm -C a.out | grep ff
0000000000401121 t ff(unsigned long)
0000000000401116 t ff(unsigned long)::{lambda()#1}::operator()() const
$ g++ x.cpp -g
$ gdb a.out
(gdb) b ff<TAB><TAB>
== Observed ==
Tab completion yields:
ff(uint64_t)
ff(unsigned long)::{lambda()#1}::operator()() const
== Expectation ==
ff(unsigned long)
ff(unsigned long)::{lambda()#1}::operator()() const
[or]
ff(uint64_t)
ff(uint64_t)::{lambda()#1}::operator()() const
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-07 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 15:47 [Bug gdb/30209] New: Inconsistency between lambdas' signatures and that of the function they are in jengelh at inai dot de
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).