summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2016-08-22 15:17:55 +0200
committerMichael Albinus <michael.albinus@gmx.de>2016-08-22 15:17:55 +0200
commit8bb999a98abd8fb0f25fd16cd3e0281503728ab6 (patch)
tree06ad8324f6b127cd950f2bccf681db6ba1bc95e9 /doc
parentaed22ca32344c21c5868a451d1afe969642a3ba5 (diff)
Explain gdb warning on remote hosts
* doc/misc/tramp.texi (Remote processes): Explain gdb warning on remote hosts. (Bug#4604, Bug#6360, Bug#622569)
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 8a144a5d02..4dc5e750bc 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2604,10 +2604,18 @@ with a remote file name:
@example
@group
@kbd{M-x gdb @key{RET}}
-@b{Run gdb (like this):} gdb --annotate=3 @trampfn{ssh,host,~/myprog} @key{RET}
+@b{Run gdb (like this):} gdb -i=mi @trampfn{ssh,host,~/myprog} @key{RET}
@end group
@end example
+Since the remote @code{gdb} and @code{gdb-inferior} processes do not
+belong to the same process group on the remote host, there will be a
+warning, which can be ignored:
+
+@example
+&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
+@end example
+
Relative file names are based on the remote default directory. When
@file{myprog.pl} exists in @file{@trampfn{ssh,host,/home/user}}, valid
calls include: