From: Eli Zaretskii <eliz@gnu.org>
To: Alain Schneble <a.s@realize.ch>
Cc: emacs-devel@gnu.org
Subject: Re: Debugging GNU Emacs on MS Windows / getting control back to gdb
Date: Sun, 21 Aug 2016 22:17:52 +0300 [thread overview]
Message-ID: <83mvk6aq3j.fsf@gnu.org> (raw)
In-Reply-To: <868tvqj5x7.fsf@realize.ch> (message from Alain Schneble on Sun, 21 Aug 2016 21:08:52 +0200)
> From: Alain Schneble <a.s@realize.ch>
> CC: <emacs-devel@gnu.org>
> 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?
next prev parent reply other threads:[~2016-08-21 19:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-21 16:09 Debugging GNU Emacs on MS Windows / getting control back to gdb Alain Schneble
2016-08-21 16:17 ` Eli Zaretskii
2016-08-21 16:38 ` Alain Schneble
2016-08-21 18:43 ` Eli Zaretskii
2016-08-21 19:06 ` Alain Schneble
2016-08-21 19:16 ` Eli Zaretskii
2016-08-21 16:46 ` Alain Schneble
2016-08-21 18:52 ` Eli Zaretskii
2016-08-21 19:08 ` Alain Schneble
2016-08-21 19:17 ` Eli Zaretskii [this message]
2016-08-21 19:23 ` Alain Schneble
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mvk6aq3j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=a.s@realize.ch \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).