GNU debugger does not work well with Korn shell, it either fails with the fatal assertion or breakpoints are completely ignored. To workaround Korn shell issues, we force GDB to internally use well-tested bash shell. Not suitable for upstream. diff -wpruN '--exclude=*.orig' a~/gdbsupport/pathstuff.cc a/gdbsupport/pathstuff.cc --- a~/gdbsupport/pathstuff.cc 1970-01-01 00:00:00 +++ a/gdbsupport/pathstuff.cc 1970-01-01 00:00:00 @@ -358,11 +358,7 @@ find_gdb_home_config_file (const char *n const char * get_shell () { - const char *ret = getenv ("SHELL"); - if (ret == NULL) - ret = "/bin/sh"; - - return ret; + return "/bin/bash"; } /* See gdbsupport/pathstuff.h. */