Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
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/wince] (7/11) Make the new interrupt method 	actually always  work in WinCE
Date: Sat, 01 Dec 2007 19:01:00 -0000	[thread overview]
Message-ID: <20071201190044.GF24231@caradoc.them.org> (raw)
In-Reply-To: <4737B583.6040304@portugalmail.pt>

On Mon, Nov 12, 2007 at 02:08:03AM +0000, Pedro Alves wrote:
> So, what this patch does, is implement the same workaround MSFT's
> debugger uses.  Don't set the context back to the inferior, unless
> it has been explicitly changed by gdb or gdbserver.  Actually, it
> is a little bit better, as it won't crash if the user sets some
> register's contents back to what it was when the inferior stopped.

This is all really nasty.  Does this mean the register values we
report to GDB may actually change before the process stops?

> 2007-11-12  Pedro Alves  <pedro_alves@portugalmail.pt>
> 
> 	* win32-low.c (win32_get_thread_context)
> 	(win32_set_thread_context): New.
> 	(thread_rec): Use win32_get_thread_context.
> 	(continue_one_thread, win32_resume): Use win32_set_thread_context.
> 	* win32-low.h (win32_thread_info) [_WIN32_WCE]: Add `base_context'
> 	field.

OK, I suppose.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-12-01 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-12  2:08 Pedro Alves
2007-12-01 19:01 ` Daniel Jacobowitz [this message]
2007-12-03  3:54   ` 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=20071201190044.GF24231@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