[Bug gdb/23537] Add step-non-pure command
tromey at sourceware dot org
sourceware-bugzilla@sourceware.org
Thu Aug 16 23:49:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23537
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Pedro Alves from comment #2)
> anchoring this on "pureness" seems quite odd to me. A user debugging some
> code won't normally know off hand if the functions are pure or not?!
We talked on #gcc today about perhaps using __attribute__((artificial))
and then having DW_AT_artificial be used for this purpose.
Another possibility here was to have the artificial flag set up
some "skip"s by default, then the user could undo them if desired.
This came up because Johnathan Wakely wanted to make it so that,
by default, you wouldn't step into std::move.
> It seems to me that what you really want is "step into the outermost
> function call in this line"?
That's bug 12940.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list