Summary: | [gdb, tdep/s390x/ppc64] Self test failed: self-test failed at arm-tdep.c:14482 (selftest arm-record) | ||
---|---|---|---|
Product: | gdb | Reporter: | Tom de Vries <vries> |
Component: | tdep | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | luis.machado, mark |
Priority: | P2 | ||
Version: | HEAD | ||
Target Milestone: | 13.1 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Tom de Vries
2022-07-30 08:08:11 UTC
(In reply to Tom de Vries from comment #0) > Hm, process record seems to think > that it's one insn, while in fact there are two. Scrap that. It's one insn, but: ... static const uint16_t insns[] = { /* 1d ee 70 7f mrc 15, 0, r7, cr13, cr0, {3} */ 0xee1d, 0x7f70, }; ... written out as two half-words. Same test fails on ppc64 (big endian) Also see https://sourceware.org/pipermail/gdb/2022-July/050215.html and https://sourceware.org/pipermail/gdb/2022-July/050217.html This seems to be a problem with the arm instruction test and endianness confusion. I'll try to come up with a fix. I don't think this has anything to do with ppc64 or s390x. |