[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: |
Eli Zaretskii |
Subject: |
Re: Debugging GNU Emacs on MS Windows / getting control back to gdb |
Date: |
Sun, 21 Aug 2016 22:17:52 +0300 |
> From: Alain Schneble <address@hidden>
> CC: <address@hidden>
> Date: Sun, 21 Aug 2016 21:08:52 +0200
>
> >> 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.
No, you misunderstand me. I think when you attach the second GDB, the
first one gets control. No?