[Bug 289945] lldb; set breakpoint not hit on i386 binary on amd64 host

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Nov 2025 17:50:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289945

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=1d1a2e6932d682c40ab878bf83cbbde02d8d0af1

commit 1d1a2e6932d682c40ab878bf83cbbde02d8d0af1
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-11-21 18:30:25 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-11-23 17:49:51 +0000

    lldb: Fix empty register set when trying to get size of register

    The register set information is stored as a singleton in
    GetRegisterInfo_i386. However, other functions later access this
    information assuming it is stored in GetSharedRegisterInfoVector. To
    resolve this inconsistency, we remove the original construction logic
    and instead initialize the singleton using llvm::call_once within the
    appropriate function (GetSharedRegisterInfoVector_i386).

    PR:             289945
    Obtained from:  llvm-project 41859c27842eeda1ef6ff18f3b2fb269388c0857

 .../Utility/RegisterContextFreeBSD_x86_64.cpp      | 44 ++++++++++------------
 1 file changed, 20 insertions(+), 24 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.