From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0F5EA3858D1E; Wed, 9 Nov 2022 15:17:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F5EA3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668007074; bh=hmgOyzs2kU9C27AzGttE0jgPCx6bW/86+6A/n31x7mA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aSfhZGb7X5GNylEIANmMciD56Sr9DziYECsAFVs1eE2qJype9eK4jUu7apOqIOfPe HUppPHbyLrh/BEAW6wfGglzRQJKRYcwSjscw/EgHyQQ/Q64f9ymdA0U9b+jV4dQqiW l0qfvqQOd/qG/MK5CqC1Rj9UcXw/OZiyQG7IwwlY= From: "f4grx+bzsw at f4grx dot net" To: gdb-prs@sourceware.org Subject: [Bug sim/25211] sim: m68hc11: fails to remap registers when writing INIT Date: Wed, 09 Nov 2022 15:17:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: f4grx+bzsw at f4grx dot net 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: Message-ID: In-Reply-To: References: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D25211 --- Comment #5 from Sebastien F4GRX --- Hello, I really appreciate that you managed to produce a minimal test case to reproduce the bug. I should have done that. TBH it's quite hard for me to contribute here because there are so many rul= es in places that I feel overwhelmed and dont know how to start. There is also= a LOT of legacy in these complex code bases and even if I could hack something that worked, I have absolutely no idea how to fix this properly. Meanwhile,= I have coded my own simulator where this function works. Setting init to zero is quite important in the 68hc11, because in extended mode, when you intend to use the hc11 as an almost generic microprocessor (= not just with a small embedded task), then the default value of INIT means that= the IO range lies in the middle of any large external ram you install on the bu= s. I am very grateful that you have identified the issue. I dont know how to f= ix it but I DEFINITELY volunteer to test it. Sebastien --=20 You are receiving this mail because: You are on the CC list for the bug.=