public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30521] New: [gdb] FAIL: gdb.base/printcmds.exp: print {unsigned char[]}{0xffffffff}
@ 2023-06-06 11:06 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2023-06-06 11:06 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30521
           Summary: [gdb] FAIL: gdb.base/printcmds.exp: print {unsigned
                    char[]}{0xffffffff}
           Product: gdb
           Version: 13.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

With a gdb 13.1 based package, I run into:
...
(gdb) PASS: gdb.base/printcmds.exp: print *&{4,5,6}[1]
print {unsigned char[]}{0xffffffff}^M
$749 = "\377\377\377\377\026"^M
(gdb) FAIL: gdb.base/printcmds.exp: print {unsigned char[]}{0xffffffff}
...

Somehow we end up with a char array of length 5.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-06 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 11:06 [Bug gdb/30521] New: [gdb] FAIL: gdb.base/printcmds.exp: print {unsigned char[]}{0xffffffff} vries at gcc dot gnu.org

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