Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
To: gdb-patches@sourceware.org, Pedro Alves <pedro@codesourcery.com>
Subject: Re: Make win32-nat use ptid_t.tid
Date: Fri, 08 Aug 2008 05:04:00 -0000	[thread overview]
Message-ID: <20080808050354.GA29641@ednor.casa.cgf.cx> (raw)
In-Reply-To: <200808080327.41751.pedro@codesourcery.com>

On Fri, Aug 08, 2008 at 03:27:41AM +0100, Pedro Alves wrote:
>As per subjects, this patch makes win32-nat use ptid_t.tid for thread
>ids, instead of ptid_t.pid, so the core can know which process a thread
>belongs to just by looking at the ptid.
>
>Tested on i686-pc-cygwin, no changes.
>
>OK?
>
>-- 
>Pedro Alves

>2008-08-08  Pedro Alves  <pedro@codesourcery.com>
>
>	Use ptid_t.tid to store thread ids instead of ptid_t.pid.
>
>	* win32-nat.c (win32_add_thread): Change thread argument type to
>	ptid_t.  Adjust.
>	(win32_add_thread): Adjust.
>	(win32_delete_thread): Change thread argument type to ptid_t.
>	Adjust.
>	(win32_fetch_inferior_registers, win32_store_inferior_registers)
>	(win32_resume, get_win32_debug_event, get_win32_debug_event)
>	(win32_wait, win32_pid_to_exec_file, win32_pid_to_str): Adjust.
>	(init_win32_ops): Put to_magic last.
>	(win32_win32_thread_alive): Adjust.

Ok.

cgf


      reply	other threads:[~2008-08-08  5:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08  2:27 Pedro Alves
2008-08-08  5:04 ` Christopher Faylor [this message]

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=20080808050354.GA29641@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    /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