diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 21:13:34 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-18 21:16:03 -0400 |
commit | d3b0ab8b36319f4232367b046ecfc0c656a177ad (patch) | |
tree | d61954ba1616acfd45c3cd5f7c987142465d3692 /sim/d10v/ChangeLog | |
parent | 3912a8db685f5e19a883d02d66900cdf10a200f0 (diff) | |
download | gdb-d3b0ab8b36319f4232367b046ecfc0c656a177ad.zip gdb-d3b0ab8b36319f4232367b046ecfc0c656a177ad.tar.gz gdb-d3b0ab8b36319f4232367b046ecfc0c656a177ad.tar.bz2 |
sim: d10v: fix build warnings
The printf fix uses our PRIxTA for our sim address type.
Then cast away the const (since the underlying code safely treats it
as such) even if it's ugly.
Finally touch up the argv iterator pointer to match the new func arg.
With this tidied up, we can delete the SIM_AC_OPTION_WARNINGS(no) call
to get the default common behavior where -Werror is enabled.
Diffstat (limited to 'sim/d10v/ChangeLog')
-rw-r--r-- | sim/d10v/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index e05746f..0d5e877 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,11 @@ +2021-04-18 Mike Frysinger <vapier@gentoo.org> + + * interp.c (xfer_mem): Use PRIxTA for printf format. + (sim_write): Cast buffer to (void *). + (sim_open): Add const to p. + * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call. + * configure: Regenerate. + 2021-04-12 Mike Frysinger <vapier@gentoo.org> * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. |