chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / gdb / gdb-nat-fork-inferior.c.patch
1 diff -u -r ../gdb-8.1/gdb/nat/fork-inferior.c ./gdb/nat/fork-inferior.c
2 --- ../gdb-8.1/gdb/nat/fork-inferior.c  2018-01-05 05:07:23.000000000 +0100
3 +++ ./gdb/nat/fork-inferior.c   2018-02-01 21:49:06.148349274 +0100
4 @@ -32,7 +32,7 @@
5  
6  /* Default shell file to be used if 'startup-with-shell' is set but
7     $SHELL is not.  */
8 -#define SHELL_FILE "/bin/sh"
9 +#define SHELL_FILE "@TERMUX_PREFIX@/bin/sh"
10  
11  /* Build the argument vector for execv(3).  */
12