all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: 70014@debbugs.gnu.org, careless@live.it
Subject: bug#70014: 29.2; debugging with gdb problem with input/output buffer
Date: Fri, 29 Mar 2024 09:36:54 +0300	[thread overview]
Message-ID: <86a5mhfss9.fsf@gnu.org> (raw)
In-Reply-To: <E1rpxqS-0000IJ-UH@fencepost.gnu.org> (message from Richard Stallman on Thu, 28 Mar 2024 18:03:36 -0400)

> From: Richard Stallman <rms@gnu.org>
> Cc: careless@live.it, 70014@debbugs.gnu.org
> Date: Thu, 28 Mar 2024 18:03:36 -0400
> 
>   > This feature doesn't work on MS-Windows because the underlying GDB
>   > feature (set inferior-tty) doesn't.  If someone knows how to fix that,
>   > patches are very welcome, but they are are probably need to be
>   > submitted to GDB, not to Emacs.
> 
> Emacs should at least five a clear error message.
> That it can do without changes in GDB.  For users to know
> that this usage is unsupported in GDB would be a big help.

gdb-inferior-io--init-proc silently punts when it cannot get a useful
name from process-tty-name.  It always did that.  This initialization
is done during initialization of the session, where displaying error
messages is tricky at best, and I also don't know what message to
display, TBH.  But patches are welcome.

> I would guess that there are fundamental reasons it is not supported

Yes: Emacs on Windows uses pipes to communicate with subprocesses,
because PTYs don't exist or cannot be used by Emacs.  So there's no
name of a TTY to use in the "set inferior-tty" command.





      reply	other threads:[~2024-03-29  6:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 15:15 bug#70014: 29.2; debugging with gdb problem with input/output buffer Davide Lombardo
2024-03-26 19:20 ` Eli Zaretskii
2024-03-28 22:03   ` Richard Stallman
2024-03-29  6:36     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5mhfss9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70014@debbugs.gnu.org \
    --cc=careless@live.it \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.