GDB: break after function returned

Is there a way to tell GDB to crash right after this function returns?

+3
source share
2 answers

If you are going to perform a function n[ext]. If you are inside, fin[ish]it will stop when it returns and display the return value.

+1
source

You can add a breakpoint to the function and then finishexit.

+1
source

All Articles