Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] gdbserver: Fix stale comment in i387-fp.cc:i387_cache_to_xsave
@ 2026-11-03 16:59 Christina Joos
  2026-11-03 19:23 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Christina Joos @ 2026-11-03 16:59 UTC (permalink / raw)
  To: gdb-patches

The comment above the final update of fp->xstate_bv only mentions
SSE/AVX registers.  The bits collected in the local xstate_bv cover
every XSAVE component handled by the function (x87, SSE, AVX, AVX512,
PKRU and APX), so reword the comment accordingly.

No functional change.
---
 gdbserver/i387-fp.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdbserver/i387-fp.cc b/gdbserver/i387-fp.cc
index 90f146a74d2..ada68211596 100644
--- a/gdbserver/i387-fp.cc
+++ b/gdbserver/i387-fp.cc
@@ -562,8 +562,8 @@ i387_cache_to_xsave (struct regcache *regcache, void *buf)
 	}
     }
 
-  /* Update the corresponding bits in xstate_bv if any SSE/AVX
-     registers are changed.  */
+  /* Update the corresponding bits in xstate_bv if any of the above
+     xsave registers are changed.  */
   fp->xstate_bv |= xstate_bv;
 }
 
-- 
2.53.0

________________________________________
Intel Deutschland GmbH 

Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany 

Tel: +49 (89) 99143-0 

www.intel.de 

Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman

Chairperson of the Supervisory Board: Sonja Pierer

Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] gdbserver: Fix stale comment in i387-fp.cc:i387_cache_to_xsave
  2026-11-03 16:59 [PATCH 1/1] gdbserver: Fix stale comment in i387-fp.cc:i387_cache_to_xsave Christina Joos
@ 2026-11-03 19:23 ` Tom Tromey
  2026-11-03 21:46   ` Joos, Christina
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2026-11-03 19:23 UTC (permalink / raw)
  To: Christina Joos; +Cc: gdb-patches

>>>>> Christina Joos <christina.joos@intel.com> writes:

> The comment above the final update of fp->xstate_bv only mentions
> SSE/AVX registers.  The bits collected in the local xstate_bv cover
> every XSAVE component handled by the function (x87, SSE, AVX, AVX512,
> PKRU and APX), so reword the comment accordingly.

> No functional change.

I think a comment change like this can be checked in as obvious.

Anyway thank you.
Approved-By: Tom Tromey <tom@tromey.com>

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH 1/1] gdbserver: Fix stale comment in i387-fp.cc:i387_cache_to_xsave
  2026-11-03 19:23 ` Tom Tromey
@ 2026-11-03 21:46   ` Joos, Christina
  0 siblings, 0 replies; 3+ messages in thread
From: Joos, Christina @ 2026-11-03 21:46 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

> -----Original Message-----
> From: Tom Tromey <tom@tromey.com>
> Sent: Dienstag, 3. November 2026 20:24
> To: Joos, Christina <christina.joos@intel.com>
> Cc: gdb-patches@sourceware.org
> Subject: Re: [PATCH 1/1] gdbserver: Fix stale comment in i387-
> fp.cc:i387_cache_to_xsave
> 
> >>>>> Christina Joos <christina.joos@intel.com> writes:
> 
> > The comment above the final update of fp->xstate_bv only mentions
> > SSE/AVX registers.  The bits collected in the local xstate_bv cover
> > every XSAVE component handled by the function (x87, SSE, AVX, AVX512,
> > PKRU and APX), so reword the comment accordingly.
> 
> > No functional change.
> 
> I think a comment change like this can be checked in as obvious.
> 
> Anyway thank you.
> Approved-By: Tom Tromey <tom@tromey.com>

I've pushed this.

Thank you,
Christina
________________________________________
Intel Deutschland GmbH 

Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany 

Tel: +49 (89) 99143-0 

www.intel.de 

Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman

Chairperson of the Supervisory Board: Sonja Pierer

Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-03 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 16:59 [PATCH 1/1] gdbserver: Fix stale comment in i387-fp.cc:i387_cache_to_xsave Christina Joos
2026-11-03 19:23 ` Tom Tromey
2026-11-03 21:46   ` Joos, Christina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox