Those who use Visual Studio will be familiar with the Shift + F11 hotkey, which steps out of a function, meaning it continues execution of the current function until it returns to its caller, at which point it stops.
Is there an equivalent in GDB?
gdb
Those who use Visual Studio will be familiar with the Shift + F11 hotkey, which steps out of a function, meaning it continues execution of the current function until it returns to its caller, at which point it stops.
Is there an equivalent in GDB?
Best Answer
You can use the
finish
command.(See 5.2 Continuing and Stepping.)