You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
512 B

diff -u -r ../gdb-9.1/gdb/gdbsupport/pathstuff.c ./gdb/gdbsupport/pathstuff.c
--- ../gdb-9.1/gdb/gdbsupport/pathstuff.c 2020-02-08 12:50:14.000000000 +0000
+++ ./gdb/gdbsupport/pathstuff.c 2020-02-15 22:37:01.888578000 +0000
@@ -262,7 +262,7 @@
if (tmp != nullptr)
return tmp;
- return "/tmp";
+ return "@TERMUX_PREFIX@/tmp";
#endif
}
@@ -273,7 +273,7 @@
{
const char *ret = getenv ("SHELL");
if (ret == NULL)
- ret = "/bin/sh";
+ ret = "@TERMUX_PREFIX@/bin/sh";
return ret;
}