unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 69795@debbugs.gnu.org
Subject: bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands
Date: Fri, 15 Mar 2024 14:49:17 +0200	[thread overview]
Message-ID: <86a5mz8xte.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB392067AA8AF6E58F027A759FC3282@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)

> From: awrhygty@outlook.com
> Cc: 69795@debbugs.gnu.org
> Date: Fri, 15 Mar 2024 21:10:06 +0900
> 
> > Doesn't MSYS2 provide a MinGW64 build of GDB, not just an MSYS build?
> > GDB builds natively with MinGW tools, so there should be no problem
> > for MSYS2 folks to provide a native 64-bit Windows build of GDB.
> 
> I have installed mingw64/mingw-w64-x86_64-gdb.
> I think it is MinGW64 binary.

Yes.  But then all the discussion around MSYS2 programs is not
relevant to this issue.

> But gdb.exe sometimes make cmdproxy.exe exit, and sometimes not.

So let's start from the beginning: can you show a recipe, starting
from "emacs -Q", where you invoke GDB from Emacs, and cmdproxy (or
some other sub-process) exits?

Also, did you look at this discussion to which I pointed:

    https://lists.gnu.org/archive/html/emacs-devel/2023-01/msg00242.html

It's possible that the process-send-eof mentioned there is somehow
involved in what you see.

> Here is a list of gdb packages.

That's a large list.  Are you using GDB for debugging native Windows
programs, or are you using it for debugging other executables (like
ARM or AVR) via gdbserver?  Which of these packages do you actually
have installed and are using?

> msys/cgdb 0.8.0-2
>     Curses-based interface to the GNU Debugger
> msys/gdb 13.2-1
>     GNU Debugger (MSYS2 version)

These two are MSYS2 builds, not native MinGW builds.





  reply	other threads:[~2024-03-15 12:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 10:55 bug#69795: 29.1; cmdproxy.exe exits automatically after executing MSYS2 commands awrhygty
2024-03-14 11:25 ` Eli Zaretskii
2024-03-14 15:56   ` awrhygty
2024-03-14 16:48     ` Eli Zaretskii
2024-03-15 12:10       ` awrhygty
2024-03-15 12:49         ` Eli Zaretskii [this message]
2024-03-16  3:52           ` awrhygty
2024-03-16  8:21             ` Eli Zaretskii
2024-03-16 13:14               ` awrhygty
2024-03-16 17:34                 ` Eli Zaretskii
2024-03-17  1:06                   ` awrhygty
2024-03-17  6:18                     ` Eli Zaretskii
2024-03-17 16:12                       ` awrhygty
2024-03-17 16:24                         ` Eli Zaretskii
2024-03-18  1:24                           ` awrhygty
2024-03-18 13:05                             ` Eli Zaretskii
2024-03-18 22:54                               ` awrhygty
2024-03-19 12:32                                 ` Eli Zaretskii
2024-03-19 13:21                                   ` awrhygty
2024-03-19 13:49                                     ` Eli Zaretskii
2024-03-19 14:26                                       ` awrhygty
2024-03-19 15:50                                         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86a5mz8xte.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=69795@debbugs.gnu.org \
    --cc=awrhygty@outlook.com \
    /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 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).