public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/13767] New: "info float" and unavailable float registers (traceframes)
@ 2012-02-27 17:46 palves at redhat dot com
  2012-03-01 20:49 ` [Bug gdb/13767] " cvs-commit at gcc dot gnu.org
  2012-03-01 20:50 ` palves at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: palves at redhat dot com @ 2012-02-27 17:46 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 13767
           Summary: "info float" and unavailable float registers
                    (traceframes)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: palves@redhat.com
    Classification: Unclassified


On x86*:

(gdb) trace foo
(gdb) tstart
(gdb) ...
(gdb) tstop
(gdb) tfind
(gdb) info float 
Register 32 is not available

i387-tdep.c:i387_print_float_info isn't handling unavailable-ness gracefully.

-- 
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] 3+ messages in thread

* [Bug gdb/13767] "info float" and unavailable float registers (traceframes)
  2012-02-27 17:46 [Bug gdb/13767] New: "info float" and unavailable float registers (traceframes) palves at redhat dot com
@ 2012-03-01 20:49 ` cvs-commit at gcc dot gnu.org
  2012-03-01 20:50 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-03-01 20:49 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-03-01 20:49:13 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2012-03-01 20:49:03

Modified files:
    gdb            : ChangeLog frame.c frame.h i387-tdep.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.trace: unavailable.exp 

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

    PR gdb/13767

    gdb/
    * frame.c (read_frame_register_unsigned): New.
    * frame.h (read_frame_register_unsigned): Declare.
    * i387-tdep.c (print_i387_status_word): New parameter `status_p'.
    Handle it.
    (print_i387_control_word): New parameter `control_p'.  Handle it.
    (i387_print_float_info): Handle unavailable float registers.

    gdb/testsuite/
    * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
    (gdb_collect_globals_test): Call it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13907&r2=1.13908
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&r1=1.305&r2=1.306
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/frame.h.diff?cvsroot=src&r1=1.200&r2=1.201
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i387-tdep.c.diff?cvsroot=src&r1=1.71&r2=1.72
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3108&r2=1.3109
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/unavailable.exp.diff?cvsroot=src&r1=1.16&r2=1.17

-- 
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] 3+ messages in thread

* [Bug gdb/13767] "info float" and unavailable float registers (traceframes)
  2012-02-27 17:46 [Bug gdb/13767] New: "info float" and unavailable float registers (traceframes) palves at redhat dot com
  2012-03-01 20:49 ` [Bug gdb/13767] " cvs-commit at gcc dot gnu.org
@ 2012-03-01 20:50 ` palves at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: palves at redhat dot com @ 2012-03-01 20:50 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

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

--- Comment #2 from Pedro Alves <palves at redhat dot com> 2012-03-01 20:49:49 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] 3+ messages in thread

end of thread, other threads:[~2012-03-01 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 17:46 [Bug gdb/13767] New: "info float" and unavailable float registers (traceframes) palves at redhat dot com
2012-03-01 20:49 ` [Bug gdb/13767] " cvs-commit at gcc dot gnu.org
2012-03-01 20:50 ` 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).