Community
Participate
Working Groups
Request to enhance the console to recognize the "return" gdb command. Currently the debug console for the gdb implementation recognizes the following execution commands:n, next, s, step, si, stepi, u, until, finish, c, continue, fg The "return" command is also an execution command and it seems missing from this list. From the 6.6 gdb manual: return - When you use return, GDB discards the selected stack frame (and all frames within it). You can think of this as making the discarded frame return prematurely. I'm attaching a patch that I believe adds this. Works for me with it. Thank You, Ewa.
Created attachment 73281 [details] Patch
Thanks for the patch, Ewa. I'm just starting to go through them for 4.0.1. Sorry for the delay.
Patch applied. Thanks Ewa.