Leonid Plyushch
7 years ago
committed by
Fredrik Fornwall
3 changed files with 22 additions and 12 deletions
@ -0,0 +1,21 @@ |
|||||
|
diff -uNr gdb-8.1/gdb/cli/cli-cmds.c gdb-8.1.mod/gdb/cli/cli-cmds.c
|
||||
|
--- gdb-8.1/gdb/cli/cli-cmds.c 2018-01-05 06:07:23.000000000 +0200
|
||||
|
+++ gdb-8.1.mod/gdb/cli/cli-cmds.c 2018-06-19 19:21:22.451443520 +0300
|
||||
|
@@ -731,7 +731,7 @@
|
||||
|
close_most_fds (); |
||||
|
|
||||
|
if ((user_shell = (char *) getenv ("SHELL")) == NULL) |
||||
|
- user_shell = "/bin/sh";
|
||||
|
+ user_shell = "@TERMUX_PREFIX@/bin/sh";
|
||||
|
|
||||
|
/* Get the name of the shell for arg0. */ |
||||
|
p = lbasename (user_shell); |
||||
|
@@ -851,7 +851,7 @@
|
||||
|
} |
||||
|
|
||||
|
if ((editor = (char *) getenv ("EDITOR")) == NULL) |
||||
|
- editor = "/bin/ex";
|
||||
|
+ editor = "@TERMUX_REFIX@/bin/applets/vi";
|
||||
|
|
||||
|
fn = symtab_to_fullname (sal.symtab); |
||||
|
|
@ -1,12 +0,0 @@ |
|||||
diff -u -r ../gdb-7.6.2/gdb/cli/cli-cmds.c ./gdb/cli/cli-cmds.c
|
|
||||
--- ../gdb-7.6.2/gdb/cli/cli-cmds.c 2013-12-08 05:33:13.000000000 +0100
|
|
||||
+++ ./gdb/cli/cli-cmds.c 2014-01-07 16:43:01.862311352 +0100
|
|
||||
@@ -722,7 +722,7 @@
|
|
||||
const char *p, *user_shell; |
|
||||
|
|
||||
if ((user_shell = (char *) getenv ("SHELL")) == NULL) |
|
||||
- user_shell = "/bin/sh";
|
|
||||
+ user_shell = "@TERMUX_PREFIX@/bin/sh";
|
|
||||
|
|
||||
/* Get the name of the shell for arg0. */ |
|
||||
p = lbasename (user_shell); |
|
Loading…
Reference in new issue