6aef739d9f
Following commit [1] and [2], gdbserver and gdbsupport directories have been moved to top-level, repectively. Update patch files to follow the changes, and also remove python3.9.patch since it's already in the upstream. [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1 [2] https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=01027315f54048dbaf03ac37455c2528c72a6d9b Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
22 lines
502 B
Diff
22 lines
502 B
Diff
diff -u -r ../gdb-10.1/gdbsupport/pathstuff.cc ./gdbsupport/pathstuff.cc
|
|
--- ../gdb-10.1/gdbsupport/pathstuff.cc 2021-03-16 13:37:23.959547390 +0530
|
|
+++ ./gdbsupport/pathstuff.cc 2021-03-16 13:37:41.879547383 +0530
|
|
@@ -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;
|
|
}
|