tromey at sourceware dot org
2018-11-22 17:08:03 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23909
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,
info->state->list_mode,
&minsyms);
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".
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,
info->state->list_mode,
&minsyms);
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.
You are receiving this mail because:
You are on the CC list for the bug.