[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:23:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> > 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.
>
> No, you misunderstand me. I think when you attach the second GDB, the
> first one gets control. No?
Hmm. That doesn't work on my machine. Second gdb that I try to attach
to the same debugee gets "Can't attach to process" error. And the first
gdb instance doesn't notice anything...