How to set a breakpoint in GDB where the function returns?

Viewed 34393

I have a C++ function which has many return statements at various places. How to set a breakpoint at the return statement where the function actually returns ?

And what does "break" command without argument means?

7 Answers
Related