public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14428] New: Make `info register' uniform accross platforms
@ 2012-08-01 20:54 sergiodj at redhat dot com
  2012-08-01 21:48 ` [Bug gdb/14428] " palves at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: sergiodj at redhat dot com @ 2012-08-01 20:54 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14428
           Summary: Make `info register' uniform accross platforms
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: sergiodj@redhat.com
    Classification: Unclassified


Currently `info registers' does not output uniformely on all platforms, e.g.:

On x86*, the output of `info register pc fp' is:

    info register pc fp
    pc: 0x400520
    fp: 0x7fffffffc490

On ppc64/s390x, it is:

    info register pc fp
    pc             0x10000658       0x10000658 <main+20>
    fp: 0xfffffffd120

On m68k-linux, it is:

    info register pc fp
    pc             0x8000042c       0x8000042c <main+4>
    fp             0xefae83e4       0xefae83e4

It would be nice to have these commands output the same pattern.

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

* [Bug gdb/14428] Make `info register' uniform accross platforms
  2012-08-01 20:54 [Bug gdb/14428] New: Make `info register' uniform accross platforms sergiodj at redhat dot com
@ 2012-08-01 21:48 ` palves at redhat dot com
  2012-08-27 17:43 ` [Bug gdb/14428] Make `info register' uniform across platforms palves at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2012-08-01 21:48 UTC (permalink / raw)
  To: gdb-prs

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

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-08-01 21:48:20 UTC ---
See also <http://sourceware.org/ml/gdb-patches/2012-08/msg00039.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] 5+ messages in thread

* [Bug gdb/14428] Make `info register' uniform across platforms
  2012-08-01 20:54 [Bug gdb/14428] New: Make `info register' uniform accross platforms sergiodj at redhat dot com
  2012-08-01 21:48 ` [Bug gdb/14428] " palves at redhat dot com
@ 2012-08-27 17:43 ` palves at redhat dot com
  2012-08-28  9:06 ` cvs-commit at gcc dot gnu.org
  2012-08-28  9:09 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2012-08-27 17:43 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|Make `info register'        |Make `info register'
                   |uniform accross platforms   |uniform across platforms

--- Comment #2 from Pedro Alves <palves at redhat dot com> 2012-08-27 17:42:35 UTC ---
Proposed patch:

http://sourceware.org/ml/gdb-patches/2012-08/msg00812.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] 5+ messages in thread

* [Bug gdb/14428] Make `info register' uniform across platforms
  2012-08-01 20:54 [Bug gdb/14428] New: Make `info register' uniform accross platforms sergiodj at redhat dot com
  2012-08-01 21:48 ` [Bug gdb/14428] " palves at redhat dot com
  2012-08-27 17:43 ` [Bug gdb/14428] Make `info register' uniform across platforms palves at redhat dot com
@ 2012-08-28  9:06 ` cvs-commit at gcc dot gnu.org
  2012-08-28  9:09 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-08-28  9:06 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-08-28 09:05:42 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2012-08-28 09:05:35

Modified files:
    gdb            : ChangeLog infcmd.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.base: pc-fp.exp 

Log message:
    2012-08-28  Pedro Alves  <palves@redhat.com>

    PR gdb/14428

    gdb/
    * infcmd.c (default_print_one_register_info): New, factored out
    from default_print_registers_info.
    (default_print_registers_info): Use it.  Mark value unavailable if
    necessary.
    (registers_info): Print user registers with
    default_print_one_register_info.

    gdb/testsuite/
    * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14637&r2=1.14638
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&r1=1.311&r2=1.312
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3357&r2=1.3358
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/pc-fp.exp.diff?cvsroot=src&r1=1.21&r2=1.22

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

* [Bug gdb/14428] Make `info register' uniform across platforms
  2012-08-01 20:54 [Bug gdb/14428] New: Make `info register' uniform accross platforms sergiodj at redhat dot com
                   ` (2 preceding siblings ...)
  2012-08-28  9:06 ` cvs-commit at gcc dot gnu.org
@ 2012-08-28  9:09 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2012-08-28  9:09 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

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

--- Comment #4 from Pedro Alves <palves at redhat dot com> 2012-08-28 09:09:12 UTC ---
Patch 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] 5+ messages in thread

end of thread, other threads:[~2012-08-28  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-01 20:54 [Bug gdb/14428] New: Make `info register' uniform accross platforms sergiodj at redhat dot com
2012-08-01 21:48 ` [Bug gdb/14428] " palves at redhat dot com
2012-08-27 17:43 ` [Bug gdb/14428] Make `info register' uniform across platforms palves at redhat dot com
2012-08-28  9:06 ` cvs-commit at gcc dot gnu.org
2012-08-28  9:09 ` 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).