From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 557703858C5F; Tue, 6 Jun 2023 11:06:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 557703858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686049607; bh=H7q90L5PATwaawKYtRy5SlcG8HumXH0zdRLQwjrU3XQ=; h=From:To:Subject:Date:From; b=WkbPUKh9Qsd7PXTUh6ChuISxY6o2rAMSgJVrrLpK9VVhCm1Poqxec2bv2yanNw7sS c6MxUW9TYYBxRsRPveHuFCJLc2tm5T7/2Um+qLH/Rt+/2Q0Z0VN9OFkF2TzW+V/Gqo O8AbW2coraFPqNn/wIFu0jlkHhoPrEVOBt+l93z4= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30521] New: [gdb] FAIL: gdb.base/printcmds.exp: print {unsigned char[]}{0xffffffff} Date: Tue, 06 Jun 2023 11:06:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30521 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 =3D "\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. --=20 You are receiving this mail because: You are on the CC list for the bug.=