termux-packages/packages/gdb/gdb-cli-cli-cmds.c.patch

13 lines
379 B
Diff

diff -u -r ../gdb-8.3/gdb/cli/cli-cmds.c ./gdb/cli/cli-cmds.c
--- ../gdb-8.3/gdb/cli/cli-cmds.c 2019-05-11 18:19:02.000000000 +0000
+++ ./gdb/cli/cli-cmds.c 2019-05-11 22:43:31.962874247 +0000
@@ -851,7 +851,7 @@
}
if ((editor = getenv ("EDITOR")) == NULL)
- editor = "/bin/ex";
+ editor = "@TERMUX_PREFIX@/bin/nano";
fn = symtab_to_fullname (sal.symtab);