From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: v850: switch from SIM_ADDR to address_word
Date: Thu, 22 Dec 2022 19:46:46 -0500 [thread overview]
Message-ID: <20221223004646.18541-1-vapier@gentoo.org> (raw)
The latter type matches the address size configured for this sim.
---
sim/v850/simops.c | 4 ++--
sim/v850/simops.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sim/v850/simops.c b/sim/v850/simops.c
index 1d5403be561c..67656d398c80 100644
--- a/sim/v850/simops.c
+++ b/sim/v850/simops.c
@@ -3387,7 +3387,7 @@ v850_satsub (SIM_DESC sd, unsigned int op0, unsigned int op1, unsigned int *op2p
uint32_t
load_data_mem (SIM_DESC sd,
- SIM_ADDR addr,
+ address_word addr,
int len)
{
uint32_t data;
@@ -3414,7 +3414,7 @@ load_data_mem (SIM_DESC sd,
void
store_data_mem (SIM_DESC sd,
- SIM_ADDR addr,
+ address_word addr,
int len,
uint32_t data)
{
diff --git a/sim/v850/simops.h b/sim/v850/simops.h
index 632febe5de55..85339f55cbe1 100644
--- a/sim/v850/simops.h
+++ b/sim/v850/simops.h
@@ -79,8 +79,8 @@ int OP_307E0 (void);
int v850_float_compare(SIM_DESC sd, int cmp, sim_fpu wop1, sim_fpu wop2, int double_op_p);
/* MEMORY ACCESS */
-uint32_t load_data_mem(SIM_DESC sd, SIM_ADDR addr, int len);
-void store_data_mem(SIM_DESC sd, SIM_ADDR addr, int len, uint32_t data);
+uint32_t load_data_mem(SIM_DESC sd, address_word addr, int len);
+void store_data_mem(SIM_DESC sd, address_word addr, int len, uint32_t data);
unsigned long Add32 (unsigned long a1, unsigned long a2, int * carry);
--
2.39.0
reply other threads:[~2022-12-23 0:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221223004646.18541-1-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).