public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
@ 2012-02-27 17:06 hjl.tools at gmail dot com
  2012-02-27 17:31 ` [Bug tdep/13766] " palves at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2012-02-27 17:06 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

             Bug #: 13766
           Summary: [7.3/7.4 Regression] "info vec" and info "float" don't
                    work with AVX
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
        AssignedTo: unassigned@sourceware.org
        ReportedBy: hjl.tools@gmail.com
    Classification: Unclassified


On Fedora 15/x86-64 with AVX support, gdb 7.3/7.4 give

GNU gdb (GDB) Fedora (7.3.1-47.fc15)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/home/hjl/bugs/gdb/vdso/64...done.
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]
Function "info_command" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]
.gdbinit:8: Error in sourced command file:
Argument required (one or more breakpoint numbers).
(gdb) b main
Breakpoint 1 at 0x4005a7: file sleepalot.c, line 12.
(gdb) r
Starting program: /export/home/hjl/bugs/gdb/vdso/64 

Breakpoint 1, main (argc=1, argv=0x7fffffffe3d8) at sleepalot.c:12
12       printf("I'm process %d\n", getpid());
Missing separate debuginfos, use: debuginfo-install glibc-2.14.1-6.1.x86_64
(gdb) info float
  R7: Empty   Register 31 is not available
(gdb) info vec
mxcsr          0x1f80    [ IM DM ZM OM UM PM ]
ymm0           *value not available*
ymm1           *value not available*
ymm2           *value not available*
ymm3           *value not available*
ymm4           *value not available*
ymm5           *value not available*
ymm6           *value not available*
ymm7           *value not available*
ymm8           *value not available*
ymm9           *value not available*
ymm10          *value not available*
ymm11          *value not available*
ymm12          *value not available*
ymm13          *value not available*
ymm14          *value not available*
ymm15          *value not available*
(gdb)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
@ 2012-02-27 17:31 ` palves at redhat dot com
  2012-02-27 17:49 ` palves at redhat dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2012-02-27 17:31 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-02-27 17:31:15 UTC ---
The *value not available* bits, I'm not are a regressions.  The 
"R7: Empty   Register 31 is not available" bit, I hadn't seen before.

Please see <http://sourceware.org/ml/gdb-patches/2012-01/msg00916.html>.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
  2012-02-27 17:31 ` [Bug tdep/13766] " palves at redhat dot com
@ 2012-02-27 17:49 ` palves at redhat dot com
  2012-02-27 18:06 ` hjl.tools at gmail dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2012-02-27 17:49 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #2 from Pedro Alves <palves at redhat dot com> 2012-02-27 17:48:56 UTC ---
I've confirmed that that patch fixes both commands for me.

I've filed PR13767 for the "info float" (Register 31 is not available) issue,
because this PRs fix is about making the register values read as 0, instead of
being marked unavailable, but we still need to make "info float" handle the
register values being unavailable, for the cases of tracepoints, and partial
cores.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
  2012-02-27 17:31 ` [Bug tdep/13766] " palves at redhat dot com
  2012-02-27 17:49 ` palves at redhat dot com
@ 2012-02-27 18:06 ` hjl.tools at gmail dot com
  2012-03-05 14:25 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2012-02-27 18:06 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-02-27 18:05:20 UTC ---
(In reply to comment #1)
> The *value not available* bits, I'm not are a regressions.  The 
> "R7: Empty   Register 31 is not available" bit, I hadn't seen before.

They work with gdb 7.2.

> Please see <http://sourceware.org/ml/gdb-patches/2012-01/msg00916.html>.

It fixes this.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2012-02-27 18:06 ` hjl.tools at gmail dot com
@ 2012-03-05 14:25 ` cvs-commit at gcc dot gnu.org
  2012-03-05 14:34 ` palves at redhat dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-03-05 14:25 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-03-05 14:24:10 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2012-03-05 14:24:04

Modified files:
    gdb            : ChangeLog 

Log message:
    Mention PR gdb/13766

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13955&r2=1.13956

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2012-03-05 14:25 ` cvs-commit at gcc dot gnu.org
@ 2012-03-05 14:34 ` palves at redhat dot com
  2012-03-05 17:19 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2012-03-05 14:34 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.5

--- Comment #5 from Pedro Alves <palves at redhat dot com> 2012-03-05 14:33:21 UTC ---
Fix checked in.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (4 preceding siblings ...)
  2012-03-05 14:34 ` palves at redhat dot com
@ 2012-03-05 17:19 ` hjl.tools at gmail dot com
  2012-03-05 17:24 ` palves at redhat dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl.tools at gmail dot com @ 2012-03-05 17:19 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2012-03-05 17:18:47 UTC ---
This is a 7.3/7.4 regression. Can we backport the fix to 7.3/7.4 branches?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (5 preceding siblings ...)
  2012-03-05 17:19 ` hjl.tools at gmail dot com
@ 2012-03-05 17:24 ` palves at redhat dot com
  2012-03-06 13:17 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2012-03-05 17:24 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #7 from Pedro Alves <palves at redhat dot com> 2012-03-05 17:23:15 UTC ---
Yes, fine with me.  I'm out for a couple hours.  If you want to do it yourself,
please go ahead.  I think the patch will apply cleanly.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (6 preceding siblings ...)
  2012-03-05 17:24 ` palves at redhat dot com
@ 2012-03-06 13:17 ` cvs-commit at gcc dot gnu.org
  2012-03-06 13:20 ` cvs-commit at gcc dot gnu.org
  2012-03-06 13:21 ` palves at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-03-06 13:17 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-03-06 13:17:20 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Branch:     gdb_7_4-branch
Changes by:    palves@sourceware.org    2012-03-06 13:17:13

Modified files:
    gdb            : ChangeLog i387-tdep.c 

Log message:
    2012-03-06  Pedro Alves  <palves@redhat.com>

    PR gdb/13766

    * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
    the register state is clear, supply explicit zero, instead of
    marking the register unavailable.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_4-branch&r1=1.13614.2.47&r2=1.13614.2.48
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i387-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_4-branch&r1=1.70.2.1&r2=1.70.2.2

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (7 preceding siblings ...)
  2012-03-06 13:17 ` cvs-commit at gcc dot gnu.org
@ 2012-03-06 13:20 ` cvs-commit at gcc dot gnu.org
  2012-03-06 13:21 ` palves at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-03-06 13:20 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-03-06 13:19:25 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Branch:     gdb_7_3-branch
Changes by:    palves@sourceware.org    2012-03-06 13:19:13

Modified files:
    gdb            : ChangeLog i387-tdep.c 

Log message:
    2012-03-06  Pedro Alves  <palves@redhat.com>

    PR gdb/13766

    * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
    the register state is clear, supply explicit zero, instead of
    marking the register unavailable.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.12887.2.73&r2=1.12887.2.74
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i387-tdep.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.69&r2=1.69.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug tdep/13766] [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX
  2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
                   ` (8 preceding siblings ...)
  2012-03-06 13:20 ` cvs-commit at gcc dot gnu.org
@ 2012-03-06 13:21 ` palves at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2012-03-06 13:21 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13766

--- Comment #10 from Pedro Alves <palves at redhat dot com> 2012-03-06 13:20:33 UTC ---
> This is a 7.3/7.4 regression. Can we backport the fix to 7.3/7.4 branches?

Done.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2012-03-06 13:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 17:06 [Bug tdep/13766] New: [7.3/7.4 Regression] "info vec" and info "float" don't work with AVX hjl.tools at gmail dot com
2012-02-27 17:31 ` [Bug tdep/13766] " palves at redhat dot com
2012-02-27 17:49 ` palves at redhat dot com
2012-02-27 18:06 ` hjl.tools at gmail dot com
2012-03-05 14:25 ` cvs-commit at gcc dot gnu.org
2012-03-05 14:34 ` palves at redhat dot com
2012-03-05 17:19 ` hjl.tools at gmail dot com
2012-03-05 17:24 ` palves at redhat dot com
2012-03-06 13:17 ` cvs-commit at gcc dot gnu.org
2012-03-06 13:20 ` cvs-commit at gcc dot gnu.org
2012-03-06 13:21 ` palves at redhat dot com

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).