public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines
@ 2022-01-21 20:24 contact at lsferreira dot net
  2022-01-21 22:01 ` [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 " contact at lsferreira dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: contact at lsferreira dot net @ 2022-01-21 20:24 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28803

            Bug ID: 28803
           Summary: GDB unable to set $xmm2-7 register but able to set
                    $xmm0-1 on non-AVX machines
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: contact at lsferreira dot net
  Target Milestone: ---

When running on my "Intel(R) Xeon(R) CPU E7-4860", I can't set xmm2 to xmm7
registers on GDB. On a more recent CPU "Intel(R) Core(TM) m3-7Y30" this seems
to set just fine. I also tested this on a libvirt clean environment with an
Intel Core 2 Duo and Intel Ivy Bridge family CPU (emulated settings), and the
one without AVX did fail to set.

To reproduce the issue, you can run any process on a non-AVX machine:

$ gdb /usr/bin/bash
.> r -c 'kill -SIGILL $$'
.> p $xmm7.uint128
.> set $xmm7.uint128 = 35322350018591
.> p $xmm7.uint128


If you try with $xmm0 or $xmm1 it works just fine.

Previously reported in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 on non-AVX machines
  2022-01-21 20:24 [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
@ 2022-01-21 22:01 ` contact at lsferreira dot net
  2022-01-24  1:55 ` contact at lsferreira dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: contact at lsferreira dot net @ 2022-01-21 22:01 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28803

Luís Ferreira <contact at lsferreira dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GDB unable to set $xmm2-7   |GDB unable to set $xmm2-9
                   |register but able to set    |register but able to set
                   |$xmm0-1 on non-AVX machines |$xmm0-1,10-15 on non-AVX
                   |                            |machines

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 on non-AVX machines
  2022-01-21 20:24 [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
  2022-01-21 22:01 ` [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 " contact at lsferreira dot net
@ 2022-01-24  1:55 ` contact at lsferreira dot net
  2022-01-24  1:55 ` contact at lsferreira dot net
  2022-02-28 18:17 ` contact at lsferreira dot net
  3 siblings, 0 replies; 5+ messages in thread
From: contact at lsferreira dot net @ 2022-01-24  1:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28803

Luís Ferreira <contact at lsferreira dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=215524

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 on non-AVX machines
  2022-01-21 20:24 [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
  2022-01-21 22:01 ` [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 " contact at lsferreira dot net
  2022-01-24  1:55 ` contact at lsferreira dot net
@ 2022-01-24  1:55 ` contact at lsferreira dot net
  2022-02-28 18:17 ` contact at lsferreira dot net
  3 siblings, 0 replies; 5+ messages in thread
From: contact at lsferreira dot net @ 2022-01-24  1:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28803

Luís Ferreira <contact at lsferreira dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |contact at lsferreira dot net

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 on non-AVX machines
  2022-01-21 20:24 [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
                   ` (2 preceding siblings ...)
  2022-01-24  1:55 ` contact at lsferreira dot net
@ 2022-02-28 18:17 ` contact at lsferreira dot net
  3 siblings, 0 replies; 5+ messages in thread
From: contact at lsferreira dot net @ 2022-02-28 18:17 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28803

Luís Ferreira <contact at lsferreira dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Luís Ferreira <contact at lsferreira dot net> ---
Linux kernel fix is going to land on stable branches soon. I'm closing as
resolved.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-02-28 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 20:24 [Bug gdb/28803] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines contact at lsferreira dot net
2022-01-21 22:01 ` [Bug gdb/28803] GDB unable to set $xmm2-9 register but able to set $xmm0-1,10-15 " contact at lsferreira dot net
2022-01-24  1:55 ` contact at lsferreira dot net
2022-01-24  1:55 ` contact at lsferreira dot net
2022-02-28 18:17 ` contact at lsferreira dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).