unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6360: 24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported"
@ 2010-06-05 20:58 Michael Welsh Duggan
  2010-06-06 18:33 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Welsh Duggan @ 2010-06-05 20:58 UTC (permalink / raw)
  To: 6360

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Emacs built from bzr trunk:
revision-id: dann@ics.uci.edu-20100605095622-dbbu1plvzfg1dfwf
date: 2010-06-05 02:56:22 -0700
build-date: 2010-06-05 16:58:33 -0400
revno: 100533
branch-nick: trunk

Using TRAMP method scpc and attempting run gdb on a remote file/server,
I am getting the following error:

File error: pty association is not supported for `gdb-inferior'

I have included my TRAMP debug buffer as part of this report:


[-- Attachment #2: Type: text/plain, Size: 2766 bytes --]

;; GNU Emacs: 24.0.50.1 Tramp: 2.1.19-pre -*- mode: outline; -*-
16:51:07.998480 tramp-maybe-open-connection (3) # Opening connection for cert using scpc...
16:51:07.999021 tramp-get-connection-property (7) # process-buffer nil
16:51:08.000389 tramp-maybe-open-connection (6) # /bin/sh
16:51:08.000558 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.000685 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.005487 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.005630 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.005763 tramp-wait-for-regexp (6) # 
#$ 
16:51:08.005913 tramp-get-file-property (8) #  gateway nil
16:51:08.006087 tramp-set-connection-property (7) # temp-file /tmp/tramp.1296p5y
16:51:08.006296 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.006477 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.006686 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.006851 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007058 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007223 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007445 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007611 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007768 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.007925 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.008082 tramp-flush-file-property (8) # /usr/oaserver60/bin/
16:51:08.008208 tramp-maybe-open-connection (3) # Sending command `exec ssh cert   -o ControlPath=/tmp/tramp.1296p5y.%r@%h:%p -o ControlMaster=yes -e none'
16:51:08.008330 tramp-get-connection-property (7) # process-name nil
16:51:08.008468 tramp-get-connection-property (7) # remote-echo nil
16:51:08.008579 tramp-send-command (6) # exec ssh cert   -o ControlPath=/tmp/tramp.1296p5y.%r@%h:%p -o ControlMaster=yes -e none
16:51:08.008694 tramp-get-connection-property (7) # process-name nil
16:51:08.008829 tramp-get-connection-property (7) # chunksize nil
16:51:08.008965 tramp-set-connection-property (7) # last-cmd-time (19466 47292 8909)
16:51:08.009095 tramp-get-connection-property (7) # process-buffer nil
16:51:08.009484 tramp-set-connection-property (7) # first-password-request t
16:51:08.009622 tramp-process-actions (3) # Waiting for prompts from remote shell
16:51:08.512558 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
16:51:08.512794 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.512922 tramp-get-connection-property (7) # check-remote-echo nil
16:51:08.513622 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6360: 24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported"
  2010-06-05 20:58 bug#6360: 24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported" Michael Welsh Duggan
@ 2010-06-06 18:33 ` Michael Albinus
  2010-07-28 10:46   ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2010-06-06 18:33 UTC (permalink / raw)
  To: Michael Welsh Duggan; +Cc: 6360

Michael Welsh Duggan <md5i@md5i.com> writes:

> Using TRAMP method scpc and attempting run gdb on a remote file/server,
> I am getting the following error:
>
> File error: pty association is not supported for `gdb-inferior'
>
> I have included my TRAMP debug buffer as part of this report:

It's the same problem as reported in Bug#4604. I still have no idea how
to solve it.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6360: 24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported"
  2010-06-06 18:33 ` Michael Albinus
@ 2010-07-28 10:46   ` Michael Albinus
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Albinus @ 2010-07-28 10:46 UTC (permalink / raw)
  To: Michael Welsh Duggan; +Cc: 6360, Nick Roberts

Michael Albinus <michael.albinus@gmx.de> writes:

> Michael Welsh Duggan <md5i@md5i.com> writes:
>
>> Using TRAMP method scpc and attempting run gdb on a remote file/server,
>> I am getting the following error:
>>
>> File error: pty association is not supported for `gdb-inferior'
>>
>> I have included my TRAMP debug buffer as part of this report:
>
> It's the same problem as reported in Bug#4604. I still have no idea how
> to solve it.

I've just committed patches to the trunk which allow Tramp to handle
remote ttys. Some simple minded test cases work for me. However, there
are still problems:

The buffer "*input/output of emacs*" shows the error message

&"warning: GDB: Failed to set controlling terminal: Operation not
permitted\n"

Source files seem to be loaded as local files (which works in my case,
because I have used "/ssh::...")

Somebody with more knowledge about gdb (Nick?) might check the issues.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-28 10:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 20:58 bug#6360: 24.0.50; TRAMP with gud/gdb causing "File error: pty association is not supported" Michael Welsh Duggan
2010-06-06 18:33 ` Michael Albinus
2010-07-28 10:46   ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).