From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 606C53857376; Sat, 30 Jul 2022 08:08:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 606C53857376 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29432] New: [gdb, tdep/s390x] Self test failed: self-test failed at arm-tdep.c:14482 (selftest arm-record) Date: Sat, 30 Jul 2022 08:08:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: HEAD 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2022 08:08:11 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29432 Bug ID: 29432 Summary: [gdb, tdep/s390x] Self test failed: self-test failed at arm-tdep.c:14482 (selftest arm-record) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tdep Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- The gdb-fedora-s390x buildbot fails, alternatively with checkout problems a= nd an actual failure. For an example of the latter, see https://builder.sourceware.org/buildbot/#/builders/75/builds/839 : ... Ran 3640 unit tests, 1 failed (gdb) PASS: gdb.gdb/unittest.exp: no executable loaded: maintenance selftes= t, ran some tests FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, fai= led none ... In more detail: ... Running selftest arm-record. Process record and replay target doesn't support syscall number -2036195 Process record does not support instruction 0x7f70ee1d at address 0x0. Self test failed: self-test failed at ../../binutils-gdb/gdb/arm-tdep.c:144= 82 ... The failure is in the "ret =3D=3D 0" selftest: ... static const uint16_t insns[] =3D { /* 1d ee 70 7f mrc 15, 0, r7, cr13, cr0, {3} */ 0xee1d, 0x7f70, }; enum bfd_endian endian =3D gdbarch_byte_order_for_code (arm_record.gdba= rch); instruction_reader_thumb reader (endian, insns); int ret =3D decode_insn (reader, &arm_record, THUMB2_RECORD, THUMB2_INSN_SIZE_BYTES); SELF_CHECK (ret =3D=3D 0); SELF_CHECK (arm_record.mem_rec_count =3D=3D 0); SELF_CHECK (arm_record.reg_rec_count =3D=3D 1); SELF_CHECK (arm_record.arm_regs[0] =3D=3D 7); ... Note that the: ... Process record does not support instruction 0x7f70ee1d at address 0x0. ... message corresponds to the insns array. Hm, process record seems to think = that it's one insn, while in fact there are two. --=20 You are receiving this mail because: You are on the CC list for the bug.=