Date: Wed, 26 Oct 2022 10:13:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 267361] EINVAL accessing fpcsr for armv7 process on arm64 kernel Message-ID: <bug-267361-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267361 Bug ID: 267361 Summary: EINVAL accessing fpcsr for armv7 process on arm64 kernel Product: Base System Version: 13.1-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: fuz@fuz.su To reproduce: install devel/gdb from ports. Then type gdb /usr/bin/true starti info registers Expected output: (gdb) info registers r0 0x0 0 r1 0x0 0 r2 0x0 0 r3 0x0 0 r4 0x0 0 r5 0x0 0 r6 0x0 0 r7 0x0 0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x0 0 sp 0xbfbfec9c 0xbfbfec9c lr 0x20054380 537215872 pc 0x20054380 0x20054380 <rtld_start> cpsr 0x10 16 fpscr 0x2000000 33554432 tpidruro <unavailable> Actual output: (gdb) info registers r0 0xffffdb58 4294957912 r1 0x0 0 r2 0x0 0 r3 0x0 0 r4 0x0 0 r5 0x0 0 r6 0x0 0 r7 0x0 0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x0 0 sp 0xffffdb58 0xffffdb58 lr 0x40054380 1074086784 pc 0x40054380 0x40054380 <rtld_start> cpsr 0x10 16 Couldn't get registers: Invalid argument. The "expected output" is from an armv7 system. I have tested in an armv7 FreeBSD 13.1 jail on arm64 FreeBSD 13.1. The gdb version is 12.1 from port= s. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267361-7>