diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2020-02-13 21:49:53 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-14 10:02:07 -0800 |
commit | 08809c09aa1351b603e9c55734105cd2e3c24c41 (patch) | |
tree | 8484465b2e13ac0d8a71dce4a128b7d824d84971 /Documentation/RelNotes/2.10.0.txt | |
parent | msvc: accommodate for vcpkg's upgrade to OpenSSL v1.1.x (diff) | |
download | tgif-08809c09aa1351b603e9c55734105cd2e3c24c41.tar.xz |
mingw: add a helper function to attach GDB to the current process
When debugging Git, the criss-cross spawning of processes can make
things quite a bit difficult, especially when a Unix shell script is
thrown in the mix that calls a `git.exe` that then segfaults.
To help debugging such things, we introduce the `open_in_gdb()` function
which can be called at a code location where the segfault happens (or as
close as one can get); This will open a new MinTTY window with a GDB
that already attached to the current process.
Inspired by Derrick Stolee.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.10.0.txt')
0 files changed, 0 insertions, 0 deletions