On 29 August 2017 at 18:33, Eli Zaretskii wrote: >> Date: Tue, 29 Aug 2017 20:25:52 +0300 >> From: Eli Zaretskii >> Cc: rcopley@gmail.com, 28268@debbugs.gnu.org >> >> git-gui.exe is a GUI program, so it releases the shell and the shell >> exits > > Correction: git-gui.exe launches wish and exits. Rebuilt Emacs from (Eli's fix)~1: ;; Git cmd/bash git clean -xfd git reset --hard b65cb981cc ;; Mingw64 bash ./autogen.sh ./configure --config-cache "CFLAGS=-O0 -g3 -ggdb" make -j17 ;; I love this machine! gdb --quiet -ex run --args src/emacs.exe -Q -eval \ "(start-process \"git gui\" \"*git gui*\" \ \"C:\\\\Program Files\\\\Git\\\\cmd\\\\Git-GUI.exe\")" ;; Close Git GUI, or not, doesn't matter ;; In Emacs C-g ;; Repeat until the abort ;; In GDB in mingw64 bash thread apply all thread apply all bt full The output is attached. Apparently the GDB crash happens if you run GDB from the Windows (7 or 10) command prompt and not if you run it from msys bash.