gdb wrappers for the shell and for shell-mode