Indicating function exit points in debug data
Florian Weimer
fw@deneb.enyo.de
Tue Mar 19 21:29:00 GMT 2019
* Justin Paston-Cooper:
> Tom Tromey suggested in that thread that this would be quite easy on
> gdb's side if gcc indicates exit locations in the DWARF data, for
> instance in the C case, it would indicate the locations of return
> statements. On a related note, he mentions that the "finish" command
> does not work for inlined functions because the compiler does not emit
> the required information.
What about calls to noreturn functions? I assume they would need
breakpoints as well. It could be tricky if those are only called
indirectly, I assume.
More information about the Gcc
mailing list