From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro_alves@portugalmail.pt>
Cc: gdb-patches@sourceware.org, Lerele <lerele@champenstudios.com>
Subject: Re: [gdbserver/win32] (4/11) New interrupting method
Date: Sat, 01 Dec 2007 18:56:00 -0000 [thread overview]
Message-ID: <20071201185611.GC24231@caradoc.them.org> (raw)
In-Reply-To: <4737B553.2040302@portugalmail.pt>
On Mon, Nov 12, 2007 at 02:07:15AM +0000, Pedro Alves wrote:
> 2007-11-12 Leo Zayas <lerele@champenstudios@com>
> Pedro Alves <pedro_alves@portugalmail.pt>
>
> * win32-low.c (soft_interrupt_requested, faked_breakpoint): New
> global variables.
> (child_add_thread): Minor cleanup.
> (child_continue): Resume artificially suspended threads before
> calling ContinueDebugEvent.
> (suspend_one_thread): New.
> (fake_breakpoint_event): New.
> (get_child_debug_event): Change return type to int. Check here if
> gdb sent an interrupt request. If a soft interrupt was
> requested, fake a breakpoint event. Return 0 if there is no event
> to handle, and 1 otherwise.
> (win32_wait): Don't check here if gdb sent an interrupt request.
> Ensure there is a valid event to handle.
> (win32_request_interrupt): Add soft interruption method as last resort.
This looks OK to me.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-12-01 18:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 2:07 Pedro Alves
2007-11-25 15:00 ` Lerele
2007-11-25 18:47 ` Pedro Alves
2007-11-25 20:39 ` Lerele
2007-12-01 18:56 ` Daniel Jacobowitz [this message]
2007-12-03 3:53 ` Pedro Alves
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071201185611.GC24231@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=lerele@champenstudios.com \
--cc=pedro_alves@portugalmail.pt \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox