[Bug gdb/23909] New: "next" with lambdas
tromey at sourceware dot org
2018-11-22 17:08:03 UTC

Bug ID: 23909
Summary: "next" with lambdas
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---

Consider code using lambdas as callbacks, like this code in gdb:

iterate_over_minimal_symbols (objfile, name,
[&] (struct minimal_symbol *msym)
add_minsym (msym, objfile, nullptr,
return false;

When "next"ing at the "iterate_over_minimal_symbols" line, I think
it would be interesting if this stopped in the callback.

I haven't looked to see what sort of debug info changes (if any) would
be needed to implement this.

Also maybe this needs a new command, something between "next" and "step".
You are receiving this mail because:
You are on the CC list for the bug.