This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug go/17295] New: p/r uses earlier print format


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

            Bug ID: 17295
           Summary: p/r uses earlier print format
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: go
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

This feels unintuitive enough to be a bug.

(gdb) p/t 57
$1 = 111001
(gdb) p 57
$2 = 57
(gdb) p/r 57
$3 = 111001 .... Eh?

Why print $3 in binary if a plain "p 57" prints in decimal?

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]