[review] Share windows_thread_info between gdb and gdbserver

Luis Machado (Code Review) gerrit@gnutoolchain-gerrit.osci.io
Thu Oct 31 04:01:00 GMT 2019


Luis Machado has posted comments on this change.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/407
......................................................................


Patch Set 1:

(1 comment)

https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/407/1/gdb/nat/windows-nat.h 
File gdb/nat/windows-nat.h:

https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/407/1/gdb/nat/windows-nat.h@35 
PS1, Line 35: 
24 | struct windows_thread_info
   | ...
30 |   HANDLE h;
31 | 
32 |   /* Thread Information Block address.  */
33 |   CORE_ADDR thread_local_base;
34 | 
35 >   /* Non zero if SuspendThread was called on this thread.  */
36 |   int suspended;
37 | 
38 | #ifdef _WIN32_WCE
39 |   /* The context as retrieved right after suspending the thread. */
40 |   CONTEXT base_context;

> This discrepancy between Non zero here and Nonzero below caught my attention. […]

Nevermind. I noticed a later patch replaces this comment.



-- 
Gerrit-Project: binutils-gdb
Gerrit-Branch: master
Gerrit-Change-Id: I9ba2d1b94be1550ea2e75e977d0808c7a27e2223
Gerrit-Change-Number: 407
Gerrit-PatchSet: 1
Gerrit-Owner: Tom Tromey <tromey@sourceware.org>
Gerrit-Reviewer: Luis Machado <luis.machado@linaro.org>
Gerrit-Comment-Date: Thu, 31 Oct 2019 04:01:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Luis Machado <luis.machado@linaro.org>
Gerrit-MessageType: comment



More information about the Gdb-patches mailing list