[Bug 289945] lldb; set breakpoint not hit on i386 binary on amd64 host
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 289945] lldb; set breakpoint not hit on 32b binary"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Nov 2025 17:50:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289945
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=fa1c56b3affaab7be6ece43070b36da2e75787cb
commit fa1c56b3affaab7be6ece43070b36da2e75787cb
Author: ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-11-21 18:28:25 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-11-23 17:49:51 +0000
lldb: Fix Architecture parsing by reading the ELF header. (#162811)
Currently, LLDB in FreeBSD host sets the Process Architecture used by
lldbserver as Default one. Which cause problem when trying to debug a
32bit binary on amd64 platform since the lldb itself will found mismatch
architecture with lldbserver's return.
Notice that this patch is only a partial fix for the debugging problem.
We are still unable to debug x86 on x86_64 so that we don't provide
testcase in this patch.
PR: 289945
Obtained from: llvm-project 394e7ded8b6bcff1382468b407ca620a2837f41b
.../llvm-project/lldb/source/Host/freebsd/Host.cpp | 41 +++++++++++++++-------
1 file changed, 28 insertions(+), 13 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.