From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 0D3CA385841A; Tue, 8 Nov 2022 07:10:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D3CA385841A Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: bfd-cvs@sourceware.org Subject: [binutils-gdb] sim: drop unused CORE_ADDR_TYPE X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 0a98ae7645a449de86a13918cf488a4ac1692642 X-Git-Newrev: 195064c8da5a86a602d6312c5ad31b2bdb3721f9 Message-Id: <20221108071045.0D3CA385841A@sourceware.org> Date: Tue, 8 Nov 2022 07:10:45 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2022 07:10:45 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D195064c8da5a= 86a602d6312c5ad31b2bdb3721f9 commit 195064c8da5a86a602d6312c5ad31b2bdb3721f9 Author: Mike Frysinger Date: Tue Nov 8 14:09:06 2022 +0700 sim: drop unused CORE_ADDR_TYPE =20 This hasn't been used by gdb in decades, and doesn't make sense with a standalone sim program/library where the ABI is fixed. So punt it to simplify the code. Diff: --- include/sim/sim.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/sim/sim.h b/include/sim/sim.h index 5569481da99..20a667cab7d 100644 --- a/include/sim/sim.h +++ b/include/sim/sim.h @@ -27,14 +27,7 @@ extern "C" { /* This file is used when building stand-alone simulators, so isolate this file from gdb. */ =20 -/* Pick up CORE_ADDR_TYPE if defined (from gdb), otherwise use same value = as - gdb does (unsigned int - from defs.h). */ - -#ifndef CORE_ADDR_TYPE typedef unsigned int SIM_ADDR; -#else -typedef CORE_ADDR_TYPE SIM_ADDR; -#endif =20 =20 /* Semi-opaque type used as result of sim_open and passed back to all