From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81E473858D35; Tue, 29 Nov 2022 16:22:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81E473858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669738935; bh=NV0chWxU0h2WIcalPJwhAhrYYsYZuPi6XYpHUZ+wMZA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=huGis7kjh2rK0ytNPZdg5h4sQfl/EkuJ7WsuTPf3USu1vLQjnlNHgUQvC5yT0u+wO YNaqDGVKtVS9zH2vo4fM/Me2Cvh1hHp1zhCfY4iw1aiIV6YwfuJZEE/2TDCakyCyCw zIlY1zdyo9K2QyBhxLUYhjY/8r0hRklOM8IVigIA= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/16442] sims not target-async Date: Tue, 29 Nov 2022 16:22:14 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org 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: cc 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=3D16442 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #2 from Tom Tromey --- See also bug #7505. I lean toward the RSP approach nowadays; we could remove remote-sim entirely. The only really tricky thing here, I think, is handling the sim-specific gdbarch register remapping: Method( comment=3D""" MAP a GDB RAW register number onto a simulator register number. See also include/...-sim.h. """, type=3D"int", name=3D"register_sim_regno", params=3D[("int", "reg_nr")], predefault=3D"legacy_register_sim_regno", invalid=3DFalse, ) This is used in a few arches, search for set_gdbarch_register_sim_regno. Probably the best approach is to just change the sims to use XML register sets like everything else. --=20 You are receiving this mail because: You are on the CC list for the bug.=