[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging GNU Emacs on MS Windows / getting control back to gdb
From: |
Alain Schneble |
Subject: |
Re: Debugging GNU Emacs on MS Windows / getting control back to gdb |
Date: |
Sun, 21 Aug 2016 21:08:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> From: Alain Schneble <address@hidden>
>> Date: Sun, 21 Aug 2016 18:46:11 +0200
>> Cc: address@hidden
>>
>> Actually, I just found
>> http://www.mingw.org/wiki/Workaround_for_GDB_Ctrl_C_Interrupt, compiled
>> it and it works!
>>
>> This allows us to call debugbreak.exe [PID] and control goes back to
>> gdb!
>
> How is this different from "gdb -p PID"?
Please correct me if I'm wrong, but that works only once, just after
attaching to the process. But if I then continue execution, there is no
way to again suspend the process and return control to GDB.